All Tools
E
DataFreeOpen Source
EASYJSON
Fast code-generated JSON serializer for Go
MIT
ABOUT
Go services that marshal millions of inference events pay a high reflection cost with encoding/json. easyjson generates marshal code so feature records and API payloads encode with fewer allocations on the hot path.
INSTALL
go get github.com/mailru/easyjsonINTEGRATION GUIDE
1. Encode high-volume inference events in a Go Kafka producer
2. Decode feature JSON records in a streaming Go worker
3. Cut JSON CPU in a Go model-serving API under load
4. Generate marshalers for eval fixture structs in Go
TAGS
gojsonserializationcodegenperformance