rocket_dyn_templates::handlebars

Function to_json

Source
pub fn to_json<T>(src: T) -> Value
where T: Serialize,
Expand description

Convert any serializable data into Serde Json type