///|
/// JSON-quote a string using the core serializer.
fn json_quote(value : String) -> String {
  Json::string(value).stringify()
}

///|
/// Keep extension value semantics. Object order inside arbitrary values is not
/// claimed as an RFC property; core stringify is stable for a stable value.
fn json_value_string(value : Json) -> String {
  value.stringify()
}