Skip to content

Releases: doubledutch/LazyJSON

Escaped String Bug

29 Jun 14:51
Compare
Choose a tag to compare

This release fixes an issue related to strings with quoted characters inserted into arrays. The bug was reported by Sacha Cohen-Scali who also provided a pull request with fix and a new unit test to capture this.

minor bug fix for put null

26 May 20:01
Compare
Choose a tag to compare

Putting a null on an object would throw an exception instead of removing the key. The semantics of the put operation now matches that of org.json

LazyArray.put(Object o)

12 May 17:10
Compare
Choose a tag to compare

This release adds two missing methods to LazyArray allowing you to insert primitive values as Object's without first casting and also to add LazyObject.NULL to arrays to insert null values that will be serialized out as "null".
(thanks @leisim for noticing and filing an issue!)

Semantics!

04 May 17:26
Compare
Choose a tag to compare

This releases fixes a lot of minor semantic differences between the LazyJSON api and that of the json.org implementation. Furthermore, it includes a large amount of serious bug fixes related to data modification.

getNames

02 May 18:45
Compare
Choose a tag to compare

Added a static getNames method on LazyObject

Mutable Data (finally)

20 Apr 23:56
Compare
Choose a tag to compare

This release finally allows you to modify JSON data after parsing it. This is done by maintaining a separate buffer of additions and marking nodes in the parse tree as dirty when their data has been changed. The API continues to mirror that of the json.org Java implementation – making it an easy drop in replacement for projects that parse large amounts of JSON data.

Deep equality tests

17 Feb 00:10
Compare
Choose a tag to compare

This releases adds a new equals and hashcode implementation that does a deep comparison of JSON elements and ensure that json data that is semantically equal returns the same hashcode and is considered equal to .equals()

Add getType to LazyElement

15 Feb 19:40
Compare
Choose a tag to compare

This allows you to do type inspection of elements without checking the class of the element.

Increase Validation

29 Oct 21:44
Compare
Choose a tag to compare

Updated the parser to cover edge cases presented in the excellent study at https://github.com/nst/JSONTestSuite

keySet method

11 Oct 18:09
Compare
Choose a tag to compare

Added the requested keySet method.