ZIO Json is a fast and secure JSON library with tight ZIO integration. The goal of this project is to create the best all-round JSON library for Scala. Extreme performance is achieved by decoding JSON directly from the input source into business objects (docs/inspired by plokhotnyuk). Although not a requirement, the latest advances in Java Loom can be used to support arbitrarily large payloads with near-zero overhead. Best-in-class security is achieved with an aggressive early exit strategy that avoids costly stack traces, even when parsing malformed numbers. Malicious (and badly formed) payloads are rejected before finishing reading.

Features

  • Performance to handle more requests per second than the incumbents, i.e. reduced operational costs
  • Security to mitigate against adversarial JSON payloads that threaten the capacity of the server
  • Fast Compilation no shapeless, no type astronautics
  • Future-Proof, prepared for Scala 3 and next-generation Java
  • Simple small codebase, concise documentation that covers everything
  • Helpful errors are readable by humans and machines

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

Apache License V2.0

Follow ZIO JSON

ZIO JSON Web Site

Other Useful Business Software
Agentic AI SRE built for Engineering and DevOps teams. Icon
Agentic AI SRE built for Engineering and DevOps teams.

No More Time Lost to Troubleshooting

NeuBird AI's agentic AI SRE delivers autonomous incident resolution, helping team cut MTTR up to 90% and reclaim engineering hours lost to troubleshooting.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ZIO JSON!

Additional Project Details

Programming Language

Scala

Related Categories

Scala JSON Software

Registered

2023-11-01