Trait JsonlValueDeserialize

Source
pub trait JsonlValueDeserialize<R> {
    // Required method
    fn deserialize_values(self) -> impl Stream<Item = Result<Value>>;
}
Expand description

Extension trait specifically for deserializing JSONL to serde_json::Value

Required Methods§

Source

fn deserialize_values(self) -> impl Stream<Item = Result<Value>>

Deserialize JSON lines into serde_json::Value objects

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§