pub fn json_dump(json: &JsonValue, ensure_ascii: bool) -> StringExpand description
Dump a JsonValue to string.
For example,
use dade::{JsonValue, json_dump};
let ret = json_dump(&JsonValue::Null, false);
assert_eq!(ret, "null");
let ret = json_dump(&JsonValue::Bool(true), false);
assert_eq!(ret, "true");