Re:Show HN: Jason – A new JSON Library for Go
by libria on Tuesday December 02, 2014 @12:29PM
(#8688352)
It looks like .Get uses the null pattern (ie, returns a Jason struct with data = `nil` if nothing is found). Your way is more idiomatic, but it looks like his point with this library is to access the data conveniently in exchange for type-safety. `exists()` can verify something was found if needed.
[ Parent
| on HN ]
There are no comments on this comment yet.