<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Project json-cpp</title><link>https://sourceforge.net/p/jsoncpp/</link><description>Recent changes to Project json-cpp</description><atom:link href="https://sourceforge.net/p/jsoncpp/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 05 May 2023 08:37:29 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jsoncpp/feed.rss" rel="self" type="application/rss+xml"/><item><title>Not able to parse large json using json cpp library 1.9.5 version</title><link>https://sourceforge.net/p/jsoncpp/discussion/483465/thread/b268caa605/?limit=25#0d7f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;this is below code snippet we are using to parse json&lt;br/&gt;
    auto str = reinterpret_cast&amp;lt;const char*=""&amp;gt;(data);&lt;br/&gt;
    Json::CharReaderBuilder builder;&lt;br/&gt;
    std::unique_ptr&amp;lt;json::charreader&amp;gt; json_reader(builder.newCharReader());&lt;br/&gt;
    std::string errorMessage;&lt;br/&gt;
    return json_reader-&amp;gt;parse(str, str + length, msg_out, &amp;amp;errorMessage);&amp;lt;/json::charreader&amp;gt;&amp;lt;/const&amp;gt;&lt;/p&gt;
&lt;p&gt;Not able to parse large json using json cpp library 1.9.5, for a small json parse function does not return false, but for large json its return false.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manikanta</dc:creator><pubDate>Fri, 05 May 2023 08:37:29 -0000</pubDate><guid isPermaLink="false">https://sourceforge.neta2edee18d8abeef291b198c8f3f7b2f42ae0dedc</guid></item><item><title>Json get() method crash</title><link>https://sourceforge.net/p/jsoncpp/bugs/73/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;My process is getting crashed for get() method call of Json::Value.&lt;br/&gt;
Providing the backtrace of the crash.&lt;/p&gt;
&lt;h1 id="0-0x780c3558-in-std_treewzxhzdk1-stdallocatorwzxhzdk2-false-_lboundjsonvalueczstring-const"&gt;0  0x780c3558 in std::_Tree&amp;lt;std::_Tmap_traits&amp;lt;Json::Value::CZString, Json::Value,="" std::less&amp;lt;Json::Value::CZString=""&amp;gt;, std::allocator&amp;lt;std::pair&amp;lt;Json::Value::CZString const,="" Json::Value=""&amp;gt; &amp;gt;, false&amp;gt; &amp;gt;::_Lbound(Json::Value::CZString const&amp;amp;)&lt;/h1&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;() from libjsoncpp.so.1
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;No symbol table info available.&lt;/p&gt;
&lt;h1 id="1-0x780c3586-in-std_treewzxhzdk3-stdallocatorwzxhzdk4-false-findjsonvalueczstring-const"&gt;1  0x780c3586 in std::_Tree&amp;lt;std::_Tmap_traits&amp;lt;Json::Value::CZString, Json::Value,="" std::less&amp;lt;Json::Value::CZString=""&amp;gt;, std::allocator&amp;lt;std::pair&amp;lt;Json::Value::CZString const,="" Json::Value=""&amp;gt; &amp;gt;, false&amp;gt; &amp;gt;::find(Json::Value::CZString const&amp;amp;) ()&lt;/h1&gt;
&lt;p&gt;from libjsoncpp.so.1&lt;br/&gt;
No symbol table info available.&lt;/p&gt;
&lt;h1 id="2-0x780c202e-in-jsonvalueoperator-const-from-libjsoncppso1"&gt;2  0x780c202e in Json::Value::operator&lt;a class="" href="../char%20const*"&gt;&lt;/a&gt; const () from libjsoncpp.so.1&lt;/h1&gt;
&lt;p&gt;No symbol table info available.&lt;/p&gt;
&lt;h1 id="3-0x780c3118-in-jsonvaluegetchar-const-jsonvalue-const-const-from-libjsoncppso1"&gt;3  0x780c3118 in Json::Value::get(char const*, Json::Value const&amp;amp;) const () from libjsoncpp.so.1&lt;/h1&gt;
&lt;p&gt;No symbol table info available.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sai</dc:creator><pubDate>Mon, 23 Jul 2018 16:22:10 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net5b73deb39d9a6a6dca55b0962760968b69155f6d</guid></item><item><title>Problem using Amalgamated Source</title><link>https://sourceforge.net/p/jsoncpp/discussion/483465/thread/39941798/?limit=25#6ca6</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I cloned the jsonpp repo and followed the instructions to generate the amalgamated source here: &lt;a href="https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated" rel="nofollow"&gt;https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All files generated as expected. When I then include the files in my project I get an error compiling the generated  jsoncpp.cpp : &lt;/p&gt;
&lt;p&gt;"fatal error: json/config.h: No such file or directory" &lt;/p&gt;
&lt;p&gt;This is making sense as json/config.h was not one of the two headers generated by the amalgamated steps.  But obvioulsy I am doing something wrong. &lt;/p&gt;
&lt;p&gt;Are there additional headers or shared libraries I need to be including other than those generated by the amalgamation step?&lt;br/&gt;
How should I be including the generated files? I am putting the two headers (json.h, json-forwards.h) in my include directory ( eg : ./include/json/json.h) and I have jsoncpp.cpp in the top level of my src.&lt;/p&gt;
&lt;p&gt;Thanks for your time.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Noah Keen</dc:creator><pubDate>Thu, 07 Jun 2018 15:27:55 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7f86e2f007297812f5bf0bf195b7f426291a8d1b</guid></item><item><title>How to integrate JSONCPP (DLL) into our local projects in Windows VS2015</title><link>https://sourceforge.net/p/jsoncpp/discussion/483465/thread/cae5db3d/?limit=25#affe</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I want to intergrate JSON CPP into my project.&lt;br/&gt;
Steps  followed is :&lt;br/&gt;
1.Download the jsoncpp-master project this from the site.&lt;br/&gt;
2.Complied the lib_json project and generated the library.&lt;br/&gt;
3.Included the JsonCpp include folder in my local project and added the library in my project.&lt;br/&gt;
4.Compliation is successful, but when i run the program with some simple json data,  reader.parse is returning true but the Json::Value member is showing size 1 even thought the JSON is haveing more than one node.&lt;br/&gt;
Is the above steps are correct??? Please let me know&lt;br/&gt;
I am not sure why the parsing is not happening,Any help please ?????&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anupkumar</dc:creator><pubDate>Mon, 28 May 2018 07:39:20 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net37c4b7e6eac59a4a852977a7151e9a0ca0c09c6b</guid></item><item><title>How to insert or create a new node?</title><link>https://sourceforge.net/p/jsoncpp/discussion/483465/thread/9f6dd300/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Please post questions to GitHub, jsoncpp.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christopher Dunn</dc:creator><pubDate>Tue, 31 Mar 2015 18:16:18 -0000</pubDate><guid isPermaLink="false">https://sourceforge.neteab2430e988da56ace179da4e5be6a36345285b9</guid></item><item><title>How to insert or create a new node?</title><link>https://sourceforge.net/p/jsoncpp/discussion/483465/thread/9f6dd300/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;After parsing a JSON file, how can I insert a new child node?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cédric</dc:creator><pubDate>Mon, 30 Mar 2015 12:24:30 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netaa7b7acd1fe2cebf6ffe1a3433827b76256435c4</guid></item><item><title>#19 toStyledString produces different output than operator&lt;&lt;</title><link>https://sourceforge.net/p/jsoncpp/bugs/19/?limit=25#8563</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-wont-fix&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; 0.5.0&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christopher Dunn</dc:creator><pubDate>Fri, 06 Mar 2015 19:01:57 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7ab13d6f26989ae5a54b1913a420360d43fab72d</guid></item><item><title>#19 toStyledString produces different output than operator&lt;&lt;</title><link>https://sourceforge.net/p/jsoncpp/bugs/19/?limit=25#da5c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I think it's the same now at: &lt;a href="https://github.com/open-source-parsers/jsoncpp" rel="nofollow"&gt;https://github.com/open-source-parsers/jsoncpp/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But we make no guarantees for &lt;code&gt;toStyledString()&lt;/code&gt;. To control the format, use &lt;code&gt;StreamWriterBuilder&lt;/code&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christopher Dunn</dc:creator><pubDate>Fri, 06 Mar 2015 19:01:40 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netc01354c631f939aae94c63eeec5f4b4bb19672b7</guid></item><item><title>#20 asString() of intValue throws exception</title><link>https://sourceforge.net/p/jsoncpp/bugs/20/?limit=25#76a5</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;Description has changed:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -1,4 +1,3 @@&lt;/span&gt;
&lt;span class="gd"&gt;-&lt;/span&gt;
 I had expected just about everything should be able to retrieve as String -- including objects and arrays \(feature suggestion\).

 reader.parse\("\{\"intvalue\":1\}",root\);
&lt;/pre&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-wont-fix&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; 0.5.0&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christopher Dunn</dc:creator><pubDate>Fri, 06 Mar 2015 18:48:01 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netded61a8ca8868338e41d7ec0d655293f2bd145e9</guid></item><item><title>#20 asString() of intValue throws exception</title><link>https://sourceforge.net/p/jsoncpp/bugs/20/?limit=25#69c9</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Objects and arrays are &lt;em&gt;serializable&lt;/em&gt; to strings, but not strictly &lt;em&gt;convertible&lt;/em&gt;. Maybe it's an unfair distinction, but since serialization has so many special cases, we're stuck with this for now.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christopher Dunn</dc:creator><pubDate>Fri, 06 Mar 2015 18:47:46 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net161d9ae8fb4bddc1e1aa17c3a945b171a13fc5a5</guid></item></channel></rss>