-
Expose
serde_json::de::Read
to simplify certainwhere
clauses (#250)pub struct Client<R> { reader: StreamDeserializer<R, serde_json::Value>, } fn f<R>(c: Client<R>) where R: serde_json::de::Read { /* ... */ }
-
Some convenient new
From
impls (#253, thanks @killercup)- From for Value
- From for Value
- From<&str> for Value
- From<Cow> for Value
- From<Map<String, Value>> for Value
- From<Vec> for Value where T: Into
- From<&[T]> for Value where T: Clone + Into
- FromIterator for Value where T: Into
-
Support deserializing strings as raw bytes (#257, thanks @bennofs)