Package jsons converts JSON arrays into streams of objects.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2016-07-30 10:23:39 +02:00
jsons.go Initial 2016-07-02 13:03:40 +02:00
jsons_test.go Move 2016-07-30 10:23:39 +02:00
LICENSE Copyright 2016-07-30 10:22:55 +02:00
README.md Initial 2016-07-02 13:03:40 +02:00

jsons

Package jsons converts JSON arrays into streams of objects.

This is useful if you have a file, HTTP response or similar containing a large array of JSON objects. Instead of reading it all into memory and deserializing into a []Whatever you can wrap the reader in a jsons.Reader and then use a json.Decoder to repeatedly read and deserialize a single object into a Whatever.

Documentation

https://godoc.org/github.com/calmh/jsons

License

MIT