Skip to main content

stringify_json

Function stringify_json 

Source
pub fn stringify_json(val: &JsValue) -> Result<String, String>
Expand description

Serializes a JsValue into a standard JSON string. Returns an error if a circular reference is detected or maximum depth is exceeded.