Skip to content

Releases: mitchhentges/json-parse

v1.3.4

12 Jul 05:52
Compare
Choose a tag to compare

Bugfix release

  • Fix formatting of some JsonParseException errors, such as "Unexpected character ... instead of array value"
  • Properly handles escape sequences and unicode code points
  • Fixes issue where if a string ended with an escaped double-quote, a failure would be encountered

This release has been out for a long time, but the associated GitHub release was forgotten until now :)

v1.3.3

18 Nov 02:36
Compare
Choose a tag to compare

Bugfix release

  • Change format of error-trace message
  • Failing to parse root constant should throw JsonParseException, not NullPointerException
  • Ignore all input after root element

v1.3.2

18 Aug 06:51
Compare
Choose a tag to compare

Bugfix release

  • Empty strings will no longer break parsing

v1.3.1

08 Apr 14:04
Compare
Choose a tag to compare

Performance release

  • Now will handle arrays faster, as it delimits their current "propertyName" as null instead of "[]"

v1.3.0

07 Apr 18:42
Compare
Choose a tag to compare

Performance and array-index-trace release

  • Array index is now shown in JSON traces. [0] is the first element, [1] is the second, and so on
  • Can now parse strings, numbers and constants as the root element. It doesn't have to be an array or object anymore
  • More internal consistency in the way root objects are handled
  • Performance increased by at least 25% (only one stack is used for managing state)

v1.2.0

07 Apr 18:44
Compare
Choose a tag to compare
  • list() and map() are now static methods. Building an object is no longer necessary

v1.1.0

07 Apr 18:43
Compare
Choose a tag to compare

Performance release

  • Refactored object NAME and value types STRING, NUMBER and CONSTANT to use forward look-aheads (my term) to
    increase speed

v1.0.3

07 Apr 18:43
Compare
Choose a tag to compare

Performance release

  • Detecting constants (whitespace, numbers) is now faster
  • Improves avoidance of processing for end-of-block (e.g. object or array), when no end-of-block is occurring

v1.0.2

04 Apr 14:05
Compare
Choose a tag to compare
  • JUnit is now in test scope

v1.0.1

09 Jan 21:45
Compare
Choose a tag to compare

Performance release

  • Don't check if non-string value is null/true/false up front, just attempt to parse it upon value termination
  • Add CHANGELOG.md to see version changes