You could use json iterator’s Stream type if you prefer to feel better by 
having it wrapped in a library. It does the same thing of course. As the name 
suggests it can be used to incrementally write the json to a writer if that’s 
what you’d like. 
https://godoc.org/github.com/json-iterator/go#Stream

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/202ffb33-2f22-443b-9115-35d1fd93187d%40googlegroups.com.

Reply via email to