Function json_api::to_value [] [src]

pub fn to_value<T>(value: T) -> Result<Value, Error> where
    T: Serialize

Convert a T into a Value.