Skip to content

@trobro trobro released this Sep 16, 2020

All links changed from hjson.org to hjson.github.io.

Assets 2
1.6

@trobro trobro released this Aug 28, 2020 · 1 commit to master since this release

Added option omitRootBraces for MarshalWithOptions(). The default value is false, so the default behavior has not changed.

Fixed problem with insertion order being lost when cloning or merging values.

Assets 2
1.5

@trobro trobro released this Jul 3, 2020 · 4 commits to master since this release

Added Cmake option HJSON_NUMBER_PARSER for choosing which number parsing method to use.

Assets 2
  • 1.4.1
  • db4467e
  • Compare
    Choose a tag to compare
    Search for a tag
  • 1.4.1
  • db4467e
  • Compare
    Choose a tag to compare
    Search for a tag

@trobro trobro released this Feb 13, 2020 · 8 commits to master since this release

More relevant message in syntax errors thrown for invalid syntax inside an element of a root object declared without tags.

Assets 2
1.4

@trobro trobro released this Jan 18, 2020 · 9 commits to master since this release

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.

Assets 2
  • 1.3
  • c59ed18
  • Compare
    Choose a tag to compare
    Search for a tag
1.3
  • 1.3
  • c59ed18
  • Compare
    Choose a tag to compare
    Search for a tag

@trobro trobro released this Nov 20, 2019 · 13 commits to master since this release

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.

Assets 2

@trobro trobro released this Oct 14, 2018 · 17 commits to master since this release

Fix for reading invalid memory location when comparing two empty vectors or maps.

Assets 2
1.2

@trobro trobro released this Dec 26, 2017 · 19 commits to master since this release

New function called "MarshalJson" which outputs JSON strings.

Adjustments for objective-c projects.

Assets 2
1.1

@trobro trobro released this Oct 18, 2017 · 23 commits to master since this release

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".

Assets 2

@trobro trobro released this Sep 6, 2017 · 25 commits to master since this release

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.

Assets 2
You can’t perform that action at this time.