fn to_json(value: &impl Serialize) -> Value
A protocol value as JSON; one that doesn’t serialize is logged and becomes null.
null