A tiny JSON library to read and alter a JSON value. The data structure is lazy: it parses on read, so the parser can be swapped for a faster one where performance matters (see JSON.Raw).
lazyjson is a Satellite module of wand. It is a snapshot of gson v0.7.3 (commit c60042b), imported without git history and maintained here by headlesslab; see NOTICE. The module path changed, the exported identifiers did not.
Replace github.com/ysmood/gson with github.com/headlesslab/lazyjson and gson. with lazyjson.; JSON, New, NewFrom, Int, ... keep their names. Error messages carry the lazyjson: prefix.
import "github.com/headlesslab/lazyjson"The tests are the documentation: see lazyjson_test.go.
v0.x: no breaking change without a major version bump. Releases are cut by hand when the module changes; wand pins each release exactly.
MIT, see LICENSE.