Expand description
JSON Streaming utilities Support for NDJSON (Newline Delimited JSON) input and output
Re-exports§
pub use input_stream::JsonInputStream;pub use json_records::parse_json_records;pub use json_records::JsonRecordEvent;pub use json_records::JsonRecordScanner;pub use ndjson::parse_ndjson;pub use ndjson::parse_ndjson_line;pub use ndjson::stringify_ndjson;pub use ndjson::stringify_ndjson_line;pub use output_stream::JsonOutputStream;pub use output_stream::ParseError;
Modules§
- input_
stream - JSON Input Stream Creates NDJSON input for CLI tools
- json_
records - Balanced JSON record scanner for native CLI output
- ndjson
- NDJSON (Newline Delimited JSON) utilities https://github.com/ndjson/ndjson-spec
- output_
stream - JSON Output Stream processor Processes NDJSON and pretty-printed JSON output from CLI tools
Functions§
- create_
input_ stream - Create a JSON input stream for sending messages
- create_
output_ stream - Create a JSON output stream processor