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
Paessler - Monitor Your Whole Network in Minutes Icon
Paessler - Monitor Your Whole Network in Minutes

Auto-discovery finds your devices and deploys pre-configured sensors instantly. No project plan required, just visibility from day one.

Waiting weeks for a monitoring rollout isn't an option when infrastructure doesn't stop running. PRTG's auto-discovery scans your network and suggests from over 200 pre-configured sensor types, so you're watching servers, applications and devices within minutes, not after a multi-week deployment. Enterprise-strength monitoring, without the enterprise complexity. Start your free trial today.
Start Free 30-Day Trial
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