Hacker News new | ask | show | jobs
by anonfunction 4216 days ago
You're still parsing the entire JSON document at once. I believe what OP meant was getting a nested property without all the overhead of writing structs or parsing the entire JSON object into an interface{}, []string, map or whatever else is appropriate.
1 comments

The jason package implementation decodes the entire JSON object to an interface{} using the standard encoding/json package.