Skip to content

Release v3.0.0

Compare
Choose a tag to compare
@JoshuaC215 JoshuaC215 released this 21 Jun 18:57
· 43 commits to master since this release

Kazaam is significantly refactored (#40) to use jsonparser as the underlying JSON manipulation library, rather than go-simplejson. This results in a 2-10x improvement in time, memory usage and allocations / op for most benchmarks. See details in #35

Kazaam now takes []byte as primary transform input rather than simplejson.Json objects. String methods are still supported without change.

Kazaam no longer provides full JSON validation in all scenarios, but (relatively very slow) IsJson() method is provided for convenience for users who wish to validate. Also includes experimental IsJsonFast() method which recursively iterates through a json object/array looking for parser errors (we will likely roll this approach into main IsJson() method in a future release).