Utilities needed to easily implement a Tokio JSON transport using [serde] for JSON serialization and deserialization of frame values.
To use tokio-serde-json
, first add this to your Cargo.toml
:
toml
[dependencies]
tokio-serde-json = { git = "https://github.com/carllerche/tokio-serde-json" }
Next, add this to your crate:
```rust extern crate tokioserdejson;
use tokioserdejson::{ReadJson, WriteJson}; ```
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in tower-web
by you, shall be licensed as MIT, without any
additional terms or conditions.