https://github.com/tv42/jsonarray
Streaming decoder for JSON arrays
https://github.com/tv42/jsonarray
Last synced: 4 months ago
JSON representation
Streaming decoder for JSON arrays
- Host: GitHub
- URL: https://github.com/tv42/jsonarray
- Owner: tv42
- License: mit
- Created: 2014-08-20T16:54:10.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-20T17:04:42.000Z (almost 11 years ago)
- Last Synced: 2025-03-18T22:35:58.082Z (4 months ago)
- Language: Go
- Size: 125 KB
- Stars: 37
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `jsonarray` -- Streaming decoder for JSON arrays
Go library for decoding very large or streaming JSON arrays.
Many streaming JSON APIs give you newline-separated JSON. That's easy
to parse, just keep calling
[`json.Decoder.Decode`](http://golang.org/pkg/encoding/json/#Decoder.Decode).Sometimes, streaming APIs, and especially JSON databases, just return
a very large JSON array as their result. This is not as easy to
handle. `jsonarray` makes it easy.(If the large array isn't the outermost JSON object, that's still
harder to get right. Ideas for API that can handle that are welcome.)Use the Go import path
github.com/tv42/jsonarray
Documentation at http://godoc.org/github.com/tv42/jsonarray