Y
Hacker News
new
|
ask
|
show
|
jobs
by
letitbeirie
1244 days ago
If you're using `json.Marshal`, you're using `reflect` [0]. It's slow and it's an absolute gold mine for runtime errors, but sometimes it's the best tool for the job.
[0]
https://cs.opensource.google/go/go/+/refs/tags/go1.19.5:src/...
1 comments
bsaul
1244 days ago
Are there alternatives ? I thought everybody was using the go stdlib for json marshalling..
link