Skip to main content

builtin_parse_json

Function builtin_parse_json 

Source
pub fn builtin_parse_json(args: &[DslValue]) -> Result<DslValue>
Expand description

Execute the parse_json builtin: parse a string as JSON.

Arguments:

  • text: string — the JSON text to parse

Returns a DslValue (Map, List, String, Number, Boolean, or Null).