serde_set

Function serde_set 

Source
pub fn serde_set<T, S>(object: Value, key: T, value: S) -> Value
where T: Into<String>, S: Into<Value>, Value: From<S>,
Expand description

Sets a key value pair in serde_json object, returns the modified object