Find/replace form now automatically refreshes tree view on use, to ensure most up-to-date JSON is used
Slight improvement to parsing performance, major improvement to pretty-print/compression performance
Support for minLength and maxLength keywords in JSON Schema validation of strings.
Support for the rest of the JSON5 specification, with the following exception(s):
Escaped newlines in strings are ignored. Note that this will not work if you are using newlines other than \r, \n, or \r\n!
Escaped digits are simply treated as digits, no matter what.
Support for the undefined and None literals, which are parsed as null.
Support for the True and False literals. Since None is now also supported, Python-style JSON documents are now fully supported.
Fixed
Remove annoying bug where SOH characters (Ascii code \x01) were sometimes added to the end of the document when pretty-printing or compressing.
Comments immediately after numbers no longer throw an error
Empty unclosed arrays and objects no longer throw an error
Paths to treenodes including an empty string key (e.g., {"": 1}) no longer throw an error
Better handling of comments, especially empty comments
Performance bug (introduced in 4.14.0) in Expand/Collapse all subtreees tree node right-click menu option
Better RemesPath error message when user tries to use a function that doesn't exist
RemesPath function names can be used unquoted when they're not being called as functions. For example, @.items would have raised an error previously because items is a function name, but now there's no problem.
MAJOR CHANGE
Parsing is completely overhauled in version
5.0.0
. Here are the key changes:state
attribute that tracks how well the JSON string complies with JSON specifications of varying degrees of strictness.logger_level
attribute that determines how strictly the parser will enforce the JSON spec.state
ever reachesFATAL
, parsing is immediately aborted and whatever has been parsed so far is returned.logger_level
.lint
attribute is now independent of the strictness of the parser.allow_comments
,allow_unquoted_string
,allow_nan_inf
, andlinting
settings have been eliminated.logger_level
setting, described hereMinor changes
minimal_whitespace_compression
totrue
.Added
minLength
andmaxLength
keywords in JSON Schema validation of strings.\r
,\n
, or\r\n
!undefined
andNone
literals, which are parsed asnull
.True
andFalse
literals. SinceNone
is now also supported, Python-style JSON documents are now fully supported.Fixed
\x01
) were sometimes added to the end of the document when pretty-printing or compressing.{"": 1}
) no longer throw an errorExpand/Collapse all subtreees
tree node right-click menu option@.items
would have raised an error previously becauseitems
is a function name, but now there's no problem.