5.3.0
See also:
- The full Changelog.
Summary:
- It is now possible to build a JSON structure by specifying the paths to the variables. The
updateroutines also now use this new feature so if the variable is not present, it will be added using the path (formerly, it added it as a name, which was inconsistent). Renamed the argument to theupdateroutines fromnametopath. - Added new
getroutine to return an allocatable string array - Arrays of scalar values can now optionally be printed on a single line
- When reading an empty JSON array it is now returned as an allocated array with zero length (rather than an unallocated array).
- Fixed an issue where the
char_countwasn’t always correct, which caused the error message for invalid JSON to be wrong. - Fixed an issue where values with significant trailing whitespace were being trimmed when printed.
- Fixed two bugs in
json_get_pathfor RFC 6091 path mode. Special characters weren’t being encoded properly, and it didn't work if the final key was all whitespace. - Fixed an issue with indenting of arrays within arrays.