Package easyjson provides a fast and easy way to marshal/unmarshal Go structs to/from JSON without the use of reflection. In performance tests, easyjson outperforms the standard encoding/json package by a factor of 4-5x, and other JSON encoding packages by a factor of 2-3x. easyjson aims to keep generated Go code simple enough so that it can be easily optimized or fixed. Another goal is to provide users with the ability to customize the generated code by providing options not available with the standard encoding/json package, such as generating "snake_case" names or enabling omitempty behavior by default.

Features

  • 'nocopy' - disables allocation and copying of string values, making them refer to original json buffer memory
  • Generated Marshaler/Unmarshaler Funcs
  • Control easyjson Marshaling and Unmarshaling Behavior
  • Type Wrappers
  • Memory Pooling
  • String interning

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow easyjson

easyjson Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of easyjson!

Additional Project Details

Programming Language

Go

Related Categories

Go JSON Software

Registered

2023-10-09