pub trait ToJson { fn json<F: FnMut() -> String>(self, namer: &mut F) -> Value; }
Transforms this value to a JSON value.