<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Discussion</title><link href="https://sourceforge.net/p/jsoncpp/discussion/" rel="alternate"/><link href="https://sourceforge.net/p/jsoncpp/discussion/feed.atom" rel="self"/><id>https://sourceforge.net/p/jsoncpp/discussion/</id><updated>2023-05-05T08:37:29.468000Z</updated><subtitle>Recent posts to Discussion</subtitle><entry><title>Not able to parse large json using json cpp library 1.9.5 version</title><link href="https://sourceforge.net/p/jsoncpp/discussion/483465/thread/b268caa605/?limit=25#0d7f" rel="alternate"/><published>2023-05-05T08:37:29.468000Z</published><updated>2023-05-05T08:37:29.468000Z</updated><author><name>Manikanta</name><uri>https://sourceforge.net/u/manikan/</uri></author><id>https://sourceforge.neta2edee18d8abeef291b198c8f3f7b2f42ae0dedc</id><summary type="html">&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;</summary></entry><entry><title>Problem using Amalgamated Source</title><link href="https://sourceforge.net/p/jsoncpp/discussion/483465/thread/39941798/?limit=25#6ca6" rel="alternate"/><published>2018-06-07T15:27:55.800000Z</published><updated>2018-06-07T15:27:55.800000Z</updated><author><name>Noah Keen</name><uri>https://sourceforge.net/u/jamescolburn/</uri></author><id>https://sourceforge.net7f86e2f007297812f5bf0bf195b7f426291a8d1b</id><summary type="html">&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;</summary></entry><entry><title>How to integrate JSONCPP (DLL) into our local projects in Windows VS2015</title><link href="https://sourceforge.net/p/jsoncpp/discussion/483465/thread/cae5db3d/?limit=25#affe" rel="alternate"/><published>2018-05-28T07:39:20.291000Z</published><updated>2018-05-28T07:39:20.291000Z</updated><author><name>Anupkumar</name><uri>https://sourceforge.net/u/anupkumargm/</uri></author><id>https://sourceforge.net37c4b7e6eac59a4a852977a7151e9a0ca0c09c6b</id><summary type="html">&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;</summary></entry><entry><title>How to insert or create a new node?</title><link href="https://sourceforge.net/p/jsoncpp/discussion/483465/thread/9f6dd300/" rel="alternate"/><published>2015-03-31T18:16:18.951000Z</published><updated>2015-03-31T18:16:18.951000Z</updated><author><name>Christopher Dunn</name><uri>https://sourceforge.net/u/christopherdunn/</uri></author><id>https://sourceforge.neteab2430e988da56ace179da4e5be6a36345285b9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Please post questions to GitHub, jsoncpp.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to insert or create a new node?</title><link href="https://sourceforge.net/p/jsoncpp/discussion/483465/thread/9f6dd300/" rel="alternate"/><published>2015-03-30T12:24:30.152000Z</published><updated>2015-03-30T12:24:30.152000Z</updated><author><name>Cédric</name><uri>https://sourceforge.net/u/cpillonel/</uri></author><id>https://sourceforge.netaa7b7acd1fe2cebf6ffe1a3433827b76256435c4</id><summary type="html">&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;</summary></entry></feed>