Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dematz
3 months ago
|
parent
|
context
|
favorite
| on:
A new experimental Go API for JSON
Although actually, for streaming maybe it would still be 2 lines but from jsontext..
dec := jsontext.NewDecoder(in)
json.UnmarshalDecode(in, &bob)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
dec := jsontext.NewDecoder(in)
json.UnmarshalDecode(in, &bob)