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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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