Skip to main content

json_emit

Function json_emit 

Source
pub fn json_emit(value: &Value) -> DogeResult
Expand description

json.emit(value) — a compact JSON document (no insignificant whitespace) for value. Dict/List/Str/Int/Float/Bool/none serialize; any other type, or a non-finite Float (JSON has no NaN/infinity), is a catchable error.