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
Categories
JSONLicense
Apache License V2.0Follow ZIO JSON
Other Useful Business Software
Stop Storing Third-Party Tokens in Your Database
Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of ZIO JSON!