cargo serde_json 0.9.7

latest releases: 1.0.117, 1.0.116, 1.0.115...
7 years ago
  • Expose serde_json::de::Read to simplify certain where 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)

Don't miss a new serde_json release

NewReleases is sending notifications on new releases.