Package fastjson provides a library for fast JSON encoding, optimised for static code generation. Fastjson functions and interfaces are structured such that all encoding appends to a buffer, enabling buffer reuse without forcing specific mechanisms such as sync.Pool. This enables zero-allocation encoding without incurring any concurrency overhead in certain applications.
OTHER License
Published by axw over 1 year ago
Published by axw over 4 years ago
Use golang.org/x/tools/go/packages for parsing Go packages, which works with Go modules.
Published by axw almost 6 years ago
Initial release, extracted from github.com/elastic/apm-agent-go.