Skip to main content

js_string

Function js_string 

Source
pub fn js_string(v: &Value) -> String
Expand description

JavaScript String(value) for a JSON value: strings as is, numbers as JS prints them, booleans, null → "null", arrays comma-joined (with null elements empty, as Array.prototype.toString), objects [object Object].