this is below code snippet we are using to parse json auto str = reinterpret_cast<const char*="">(data); Json::CharReaderBuilder builder; std::unique_ptr<json::charreader> json_reader(builder.newCharReader()); std::string errorMessage; return json_reader->parse(str, str + length, msg_out, &errorMessage);</json::charreader></const> Not able to parse large json using json cpp library 1.9.5, for a small json parse function does return true, but for large json its return false.
this is below code snippet we are using to parse json auto str = reinterpret_cast<const char*="">(data); Json::CharReaderBuilder builder; std::unique_ptr<json::charreader> json_reader(builder.newCharReader()); std::string errorMessage; return json_reader->parse(str, str + length, msg_out, &errorMessage);</json::charreader></const> Not able to parse large json using json cpp library 1.9.5, for a small json parse function does return true, but for large json its return false.
this is below code snippet we are using to parse json auto str = reinterpret_cast<const char*="">(data); Json::CharReaderBuilder builder; std::unique_ptr<json::charreader> json_reader(builder.newCharReader()); std::string errorMessage; return json_reader->parse(str, str + length, msg_out, &errorMessage);</json::charreader></const> 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.
this is below code snippet we are using to parse json auto str = reinterpret_cast<const char*="">(data); Json::CharReaderBuilder builder; std::unique_ptr<json::charreader> json_reader(builder.newCharReader()); std::string errorMessage; return json_reader->parse(str, str + length, msg_out, &errorMessage);</json::charreader></const> 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.
Json get() method crash
Hi, I cloned the jsonpp repo and followed the instructions to generate the amalgamated source here: https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated All files generated as expected. When I then include the files in my project I get an error compiling the generated jsoncpp.cpp : "fatal error: json/config.h: No such file or directory" 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. Are...
Hi All, I want to intergrate JSON CPP into my project. Steps followed is : 1.Download the jsoncpp-master project this from the site. 2.Complied the lib_json project and generated the library. 3.Included the JsonCpp include folder in my local project and added the library in my project. 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. Is...
Please post questions to GitHub, jsoncpp.
After parsing a JSON file, how can I insert a new child node?
toStyledString produces different output than operator<<
I think it's the same now at: https://github.com/open-source-parsers/jsoncpp/ But...
asString() of intValue throws exception
Objects and arrays are serializable to strings, but not strictly convertible. Maybe...
Bug when parsing duplicate names
Fixed at: https://github.com/open-source-parsers/jsoncpp/pull/205
Representation of float
There is some discussion of our poor handling for numbers at: https://github.com/open-source-parsers/jsoncpp/issues...
Memory (heap) corruption with experimental internal ma
Dropped from codebase. We might allow hashmap via configuration in the future.
Linking error in VS 2010 SP1
Many level 4 warnings in Visual Studio 2010
Seems to work now in VS2013, using cmake and the latest code from: https://githu...
We no longer use while (CONSTANT) in our codebase. We have also dropped the do{...}while(0)...
isObject and isArray behavior is confusing
Big integer values are decoded as real
I agree, but this is an old design decision. I'd be afraid to change it now.
I would rather let users decide how to decode numbers, but that is difficult with...
cygwin g++ error
BUG: iterators - ValueIteratorBase::isEqual( const SelfType
Our cmake builds now work on cygwin: https://github.com/open-source-parsers/json...
The unit-test IteratorTest/distance shows this to be fixed at: https://github.co...
Compilation warnings
File name conflict
There are 0 compilation warnings at: https://github.com/open-source-parsers/json...
We should allow the include dir to be set via CMAKE flags. If still interested, file...
JSON_FAIL_MESSAGE no defined in amalgamated cpp file
We have accepted that change at: https://github.com/open-source-parsers/jsoncpp/
amalgamate.py patch, fixes #include and assertions.h
Should be fixed at: https://github.com/open-source-parsers/jsoncpp/
Crash on specific partial Json string.
crash when compile & run with Android NDK v8
Incorrect parsing of strings with null characters (\u0000)
Pretty sure this relates to the global null Value object, which was a mistake. We...
UTF-8 with embedded zeroes is now supported at: https://github.com/open-source-p...
a problem with \u0000 character
cant parse array
UTF-8 with embedded zeroes is supported now at: https://github.com/open-source-p...
Additional closing curly brace is missed by parser
Link error with clang + libc++
That's not a bug, but it's prevented by using strictMode at: https://github.com/...
Fixed at: https://github.com/open-source-parsers/jsoncpp/
share object file should be canonically named and versioned
NaN and infinity are handled incorrectly
In switching to cmake, we have (hopefully) fixed this. Also, pkg-config is available:...
Hopefully this is corrected now. If not, re-open at: https://github.com/open-sou...
No soname
https://github.com/open-source-parsers/jsoncpp/
Value::asCString should return null for null
If this is not fixed by using cmake, please re-open at: https://github.com/open-...
Parse error string but no returning false or expection
Probably fixed: https://github.com/open-source-parsers/jsoncpp/
Unbounded recursion vulnerability
Fixed at: https://github.com/open-source-parsers/jsoncpp/issues/88
Parse an error string but no returning false or expection
StaticString compilation error
This is now fixed via strictMode at: https://github.com/open-source-parsers/json...
In case this is still an issue, it's fixed at: https://github.com/open-source-pa...
Missing NULL check for second parameter of strcmp can cause crash on Mac and iOS platforms
features.h is clashing with standard library include files on Linux
We use memcmp() now, to allow embedded zeroes in UTF-8: https://github.com/open-...
We now use #include "features.h", so this should not be a problem: https://githu...
New line character appended while using FastWriter
Json::Value(std::uint64_t) is ambiguous
This is fixed at: https://github.com/open-source-parsers/jsoncpp/
See discussions here: https://github.com/open-source-parsers/jsoncpp/pull/66 https://github.com/open-source-parsers/jsoncpp/issues/64...
operator<< missing JSON_API macro in 0.6.0-rc2-amalgamation
int[key]
the boolean expression always return false
Missing stdexcept header
Strict mode passes null as input Json
Generate jsoncpp-config.cmake.
Moved to: https://github.com/open-source-parsers/jsoncpp/issues/180
more efficiency and init fix
Please double-check, and if needed, re-submit the patch, at: https://github.com/...
Trailing decimal point and trailing zeros.
We recently put a lot of effort into getting a correct round-trip for floats. I think...
simple Makefile
We support cmake now: https://github.com/open-source-parsers/jsoncpp/
Compile on Windows CE
I'm pretty sure WinCE compiles with 0.y.z, and maybe with 1.y.z, at: https://git...
Wrong unicode strings handling
Wrong unicode strings handling
Pretty sure blep's idea is done: https://github.com/open-source-parsers/jsoncpp/
Make underlying bitfield type uniform
Switched from bool to unsigned at: https://github.com/open-source-parsers/jsoncp...
CMakeFiles: cross-compilation & integration in CMake project
Comment reading/write improvements
patch for bug #53 on version 0.5.0