4 ms·
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 pars
by anonfunction 12y 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.
- BarkMore 12y agoThe jason package implementation decodes the entire JSON object to an interface{} using the standard encoding/json package.