pub fn to_json<T>(v: &T) -> Result<String, Error>where T: TypeShift,
Core trait and runtime helpers. Serialize a typed value into a compact JSON string.