Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TreyE/json_stream_encoder
Streaming encoder for JSON in elixir.
https://github.com/TreyE/json_stream_encoder
elixir json
Last synced: about 1 month ago
JSON representation
Streaming encoder for JSON in elixir.
- Host: GitHub
- URL: https://github.com/TreyE/json_stream_encoder
- Owner: TreyE
- Created: 2017-10-20T17:42:52.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-01T18:04:18.000Z (almost 3 years ago)
- Last Synced: 2024-08-09T05:10:47.373Z (4 months ago)
- Topics: elixir, json
- Language: Elixir
- Size: 16.6 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - JsonStreamEncoder is a streaming encoder for streaming JSON to an IOish thing in Elixir. (JSON)
- fucking-awesome-elixir - json_stream_encoder - JsonStreamEncoder is a streaming encoder for streaming JSON to an IOish thing in Elixir. (JSON)
- awesome-elixir - json_stream_encoder - JsonStreamEncoder is a streaming encoder for streaming JSON to an IOish thing in Elixir. (JSON)
README
# JsonStreamEncoder
JsonStreamEncoder is a streaming encoder for streaming JSON to an IOish thing in Elixir.
Its use case is for when you care more about constant memory consumption and
parallelism than you do about raw speed.It is based on and uses [Jason](https://github.com/michalmuskala/jason).
If you don't need a streaming interface and want more protocol support, use Jason.
## Installation
Using [Hex](https://hex.pm), the package can be installed by adding `json_stream_encoder` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:json_stream_encoder, "~> 0.2.0"}
]
end
```The docs for the most recent version can be found at [Hex Docs](https://hexdocs.pm/json_stream_encoder).