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

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow DJSON

DJSON Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

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.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DJSON!

Additional Project Details

Programming Language

Go

Related Categories

Go JSON Software

Registered

2023-10-24