An implementation of JSON Lines for Rust.
JSON Lines is a simple format consisting of JSON
values separated by newlines. Use
write() to interact wtih readers and
writers in the JSON Lines format. Serialization and deserialization is done automatically.
Connection for situations in which you have both a reader and a writer and would like to
bundle them up together.
tokio feature to replace the usages of
std IO primitives with those from Tokio.
Use this type when you have both a reader and writer, and want them to be grouped together.
An error that occurred during reading.
An error that occurred during writing.
Reads a line from the reader and deserializes it into a given type.
Writes a given value to the writer, serializing it into JSON.