http-json-stream 0.1.0

An asynchronous JSON streamer for HTTP network requests
Documentation

HTTP JSON Stream

An asynchronous JSON streamer for HTTP network requests, inspired by the hyper-json-stream repository.

Allows for processing items in a JSON response as they are being downloaded, enabling asynchronous consumption of large network requests with constant memory. Requires all items to be specified at the same depth, determined byt the amount of object or list parents, or the amount of open { or [ braces.

Cargo.toml
[dependencies]
http-json-stream = { version = "0.1.0", features = ["gzip"] }
futures = "0.3"
serde = "1.0"
Features

gzip — enable support for gzip encoded responses flate2-* — gzip with the specified flate2 backend

Usage

License