DJSON is a JSON decoder for Go that is 2~ to 3~ times faster than the standard encoding/json and the existing solutions when dealing with arbitrary JSON payload. It is a good approach for people who are using json.Unmarshal together with interface, don't know what the schema is, and still want good performance with minimal changes. DJSON is faster and allocates less memory than the other alternatives.
Features
- DJSON is faster and allocates less memory than the other alternatives
- Each library in the test gets a small payload to process that weighs 134 bytes
- JSON decoder for Go
- Good performance with minimal changes
- Stream decoding without breaking performance
Categories
JSONLicense
MIT LicenseFollow DJSON
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of DJSON!