Boost C++ Libraries: Ticket #11839: JSON parser does not work with "boost::any" as value type https://svn.boost.org/trac10/ticket/11839 <p> I have a property_tree specialization with boost::any as value type, as such: </p> <p> typedef boost::property_tree::basic_ptree&lt;std::string, boost::any&gt; AnyPTree; </p> <p> With the help of a set of "translator_between" specializations, and an operator </p> <p> template &lt;class CharT, class Traits, class Allocator&gt; boost::any&amp; operator += ( </p> <blockquote> <p> boost::any&amp; lhs, const std::basic_string&lt;CharT, Traits, Allocator&gt;&amp; rhs ); </p> </blockquote> <p> I was able to use all the parsers in property_tree in boost 1.58. However the new JSON parser in 1.59 assumes that the value type of the property_tree is string-like and does not compile for my specialization anymore (standard_callbacks is the offending code). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11839 Trac 1.4.3