A blazing-fast JSON parser and generator in pure Elixir. The parser and generator are at least twice as fast as other Elixir/Erlang libraries (most notably Poison). The performance is comparable to jiffy, which is implemented in C as a NIF. Jason is usually only twice as slow. Both the parser and generator fully conform to RFC 8259 and ECMA 404 standards. The parser is tested using JSONTestSuite. The package can be installed by adding jason to your list of dependencies in mix.exs. Jason follows the JSON spec more strictly, for example, it does not allow unescaped newline characters in JSON strings - e.g. "\"\n\"" will produce a decoding error. No support for decoding into data structures (the as: option). No built-in encoders for MapSet, Range and Stream. No support for encoding arbitrary structs - explicit implementation of the Jason.Encoder protocol is always required. Different pretty-printing customization options (default pretty: true works the same).

Features

  • Detailed benchmarks
  • Plug (and Phoenix)
  • Use with other libraries
  • The package can be installed by adding jason to your list of dependencies
  • A blazing fast JSON parser and generator in pure Elixir
  • The parser and generator are at least twice as fast as other Elixir/Erlang libraries

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow Jason

Jason Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Jason!

Additional Project Details

Programming Language

Elixir

Related Categories

Elixir JSON Software

Registered

2022-10-07