Skip to main content

parse_primitive_token

Function parse_primitive_token 

Source
pub fn parse_primitive_token(token: &str) -> Result<JsonPrimitive>
Expand description

Parse a primitive token into a JSON primitive.

ยงErrors

Returns an error if a quoted string token is unterminated or malformed.