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
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
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