Releases: doubledutch/LazyJSON
Bug fix release
This release fixes a bug related to escaped characters in JSON field names and adds unit test coverage.
Type reflection
This update fixes a few minor bugs and adds a getType method that allows for type inspection of individual fields.
Increased validation and compression stats
This release adds increased validation for malformed JSON and introduces a few additional methods for inspecting hit/miss ratios in the compression engine.
Minor Bugfix
This release fixes a bug where a null string would be returned as an empty string when getString was called.
Compression
This release includes a new compression engine based on JSON templates and caching of repeated string values. Further more, a new LazyElement class has been added to handle parsing of data that could be an either an object or an array.
Add optional value getters
Added api support for getting optional values - either with a null return value or a default return value.
Package change
This release changes the package name from me.doubledutch.lazy to me.doubledutch.lazyjson - yes, very annoying, but it will make things easier for Scala users. From this release going forward LazyJSON is also available in maven central!
Stack Strategy Change
This release contains a few performance improvements.
- Different stack re-allocation strategy using power of two sized stack increments to allow for a quick comparison to a constant vs between two variables
- Parser logic that used the stack purely to assign parent child relationship have now been inlined instead
- LazyToken type has been changed from an int to a byte
First Public Release
This is the very first public release of LazyJSON for Java.