> particularly high-performance small services that do things like fling JSON around
:/ Their json system reflects and allocates like a mad-man. It's probably one of the slowest parts of the std library.
:/ Their json system reflects and allocates like a mad-man. It's probably one of the slowest parts of the std library.
go-codec [1] is very good, and can do things like interning string keys to reduce allocation overhead, but it's not faster than encoding/json when working on plain maps.