Function to_string

Source
pub fn to_string<T, U>(value: T, query: Option<&Query>) -> Result<String, Error>
where T: Render<U>, U: PrimaryData,
Expand description

Render type T as a Document<U> and then serialize it as a string of JSON.