Skip to main content

json_string

Function json_string 

Source
pub fn json_string(value: &str) -> String
Expand description

Encode value as a complete JSON string, quotation marks included. 把 value 编码为完整的 JSON 字符串,含两侧引号。