Skip to main content

parse_value

Function parse_value 

Source
pub fn parse_value(input: &str) -> Result<JsValue, Error>
Expand description

Parse RFC8259 structure with JavaScript f64 conversion. Strings use serde_json’s escape/UTF8 validation; structural recursion is bounded to its default depth.

§Errors

Returns an error if the input is not valid JSON.