noseglid/pjson — Issue #12: Fetch as another type causes non-json exception
Author: noseglid
Created: 2011-10-23 19:00:08+00:00
State: open

Json::Value v(std::string("12"));
v.asString();

This causes a boost::bad_get to be thrown, not very user friendly.
The attempt to fetch a Value containing a Number as a String should be handled by the library.