Releases: hjson/hjson-cpp
Releases · hjson/hjson-cpp
1.5
Added Cmake option HJSON_NUMBER_PARSER for choosing which number parsing method to use.
1.4.1
More relevant message in syntax errors thrown for invalid syntax inside an element of a root object declared without tags.
1.4
Marshal() now includes a decimal point in the string representation of any number that is stored using a floating point representation (for example "1.0"
).
Added functions is_int64() and Unmarshal(const std::string&).
Added stream insertion operator for Hjson::Value.
1.3
Support for 64-bit precision integers.
Default installation folder for the lib file in POSIX is now /usr/local/lib
instead of /usr/local/lib/hjson
.
Added option preserveInsertionOrder
for MarshalWithOptions()
. The default value is false
, but that might change to true
in release 2.0.
1.2.1
Fix for reading invalid memory location when comparing two empty vectors or maps.
1.2
New function called "MarshalJson" which outputs JSON strings.
Adjustments for objective-c projects.
1.1
New function called "Merge" which can be used to easily override just a few values of a default configuration.
Also a new member function on the Value class, called "clone".
1.0.1
Changed behavior: Now throws Hjson::index_out_of_bounds when trying to access a vector-element on an Hjson::Value object of type Hjson::Value::UNDEFINED.