<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Discussion</title><link>https://sourceforge.net/p/jsoncpp/discussion/</link><description>Recent posts to Discussion</description><atom:link href="https://sourceforge.net/p/jsoncpp/discussion/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/discussion/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>https://sourceforge.neta2edee18d8abeef291b198c8f3f7b2f42ae0dedc</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>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>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>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>https://sourceforge.netaa7b7acd1fe2cebf6ffe1a3433827b76256435c4</guid></item></channel></rss>