Function gjson::parse

source · []
pub fn parse<'a>(json: &'a str) -> Value<'a>
Expand description

Parse the json and return it as a value.

This function expects that the json is valid, and does not validate. Invalid json will not panic, but it may return back unexpected results. If you are consuming JSON from an unpredictable source then you may want to use the valid function first.