Skip to content

0.9.5

Latest
Compare
Choose a tag to compare
@ralfstx ralfstx released this 09 Dec 21:06
· 7 commits to master since this release
0.9.5
  • New Streaming API: A new abstract base class JsonHandler has been introduced to allow processing parser events, e.g. to create arbitrary data structures from a JSON input. When a JsonParser is instantiated with an instance of a handler, it will issue all events to this handler.
  • ParseExceptions now provide the location in a Location object, containing the fields offset, line, and column. The same type is used by JsonHandler.
  • Fixed an issue that could lead to deadlocks during class loading or static fields being null.
  • Since minimal-json is a recursive parser, a stack overflow could occur for very deeply nested JSON inputs. A ParseException is now thrown when the nesting level exceeds 1000.