jsonarray icon indicating copy to clipboard operation
jsonarray copied to clipboard

Alternative in Go 1.5

Open brightcode opened this issue 10 years ago • 1 comments

Your library is very useful for decoding large JSON arrays. But in Go 1.5 there is an alternative with new additions to the JSON decoder. See the Decoder.Decode (Stream) example.

brightcode avatar Jan 08 '16 12:01 brightcode

It's not the Decode that helps, it's the Token, but yes. The internals of this library could be simplified with Token. The API here is still valid -- note how the stdlib example does no verification of what tokens it reads, it's just a simple example.

tv42 avatar Jun 15 '16 19:06 tv42