id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3831,property_tree::read_json unable to handle large integers.,Michael Anderson ,Sebastian Redl,"Trying to read json that contains a value outside the range of an int into a property tree produces the following error {{{ terminate called after throwing an instance of 'boost::exception_detail::clone_impl >' what(): (1): expected value }}} This is due to the use of a int_p parser in the spirit parsing code. Applying the following patch {{{ Index: boost/property_tree/detail/json_parser_read.hpp =================================================================== --- boost/property_tree/detail/json_parser_read.hpp (revision 58794) +++ boost/property_tree/detail/json_parser_read.hpp (working copy) @@ -233,7 +233,7 @@ number = strict_real_p - | int_p + | ( ! ( (ch_p('+') | ch_p('-') ) ) ) >> *digit_p ; string }}} Seems to fix this. The following example demonstrates the issue. {{{ #include ""boost/property_tree/json_parser.hpp"" #include ""boost/property_tree/info_parser.hpp"" int main() { boost::property_tree::ptree pt; std::string s(""{\""v1\"":124567890123,\""v2\"":+124567890123,\""v3\"":-124567890123}""); std::stringstream ss; ss<