Skip to content
headlesslabPublic

About

A tiny lazy JSON reader and writer. Snapshot of ysmood/gson v0.7.3; a Satellite module of wand.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

lazyjson

CI Go Reference

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).

Provenance

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.

Usage

import "github.com/headlesslab/lazyjson"

The tests are the documentation: see lazyjson_test.go.

Versioning

v0.x: no breaking change without a major version bump. Releases are cut by hand when the module changes; wand pins each release exactly.

License

MIT, see LICENSE.

About

A tiny lazy JSON reader and writer. Snapshot of ysmood/gson v0.7.3; a Satellite module of wand.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages