Skip to main content

to_json

Function to_json 

Source
fn to_json(value: &impl Serialize) -> Value
Expand description

A protocol value as JSON; one that doesn’t serialize is logged and becomes null.