Skip to main content

parse_str

Function parse_str 

Source
pub fn parse_str(cx: &dyn Context, text: &str) -> RunResult<Value>
Expand description

Parses JSON text into a xur value, as std::json::parse does: objects become records, arrays lists, and null becomes None. For hosts and other modules (std::http) that read JSON.