Skip to content

parseJson

parseJson(string) → value · Format

Parse a JSON string into a navigable UDM value. See Chapter 24.

  • string (required): the JSON string to parse
utlx
let config = parseJson($input.configJson)
config.database.host                     // "localhost"

Released under AGPL-3.0.