Poison is a fast and lightweight JSON library for Elixir focused on performance and idiomatic APIs. It provides straightforward encode and decode functions, along with a protocol-based encoder that lets you customize how your structs become JSON. Developers can derive or implement Poison.Encoder for domain types, control which fields are included, and map complex values into JSON-friendly forms. On the decoding side, it supports options for key handling and flexible parsing of JSON into Elixir maps, lists, and primitive values. Internally it uses optimized binary processing to keep allocations low and throughput high, which is why it became a popular choice in early Elixir ecosystems. The API is intentionally small and unsurprising, making it easy to drop into controllers, background jobs, or data pipelines. Many codebases still rely on Poison for its speed and simplicity, even as alternative JSON libraries exist in the community.

Features

  • High‑performance JSON encoding/decoding
  • Pure Elixir implementation with no external dependencies
  • Hand‑rolled parser optimized for BEAM and JIT benefits
  • Single‑pass decoding for speed and efficiency
  • Full compliance with JSON standards (RFC 8259, ECMA 404)
  • Modular components (encoder, decoder, parser) usable independently

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Poison

Poison Web Site

Other Useful Business Software
PageDNA: Web-to-Print eCommerce Software Icon
PageDNA: Web-to-Print eCommerce Software

eCommerce for Print, Signs and Fulfillment Trusted by In‑Plants and Commercial Print Leaders

PageDNA enables successful eCommerce strategies for commercial print sales organizations, internal print shops, and brand owners. PageDNA’s online ordering platform increases print volume while decreasing touch costs for all stakeholders: clientele, print operations, and the organizations they support.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Poison!

Additional Project Details

Programming Language

Elixir

Registered

2025-09-01