to_json

Function to_json 

Source
pub fn to_json<T: Serialize>(value: T) -> Result<Value>
Expand description

Converts the T to a json value