Parses a JSON string into corresponding HCL primitives, lists, or maps.
json_decode(str: string) -> any
Returns the documented result for the function signature.
redis "cache_lookup" { connection = connection.redis.cache command = "GET" key = "product:${ctx.request.path.id}" } respond { condition = steps.cache_lookup.value != null status = 200 body = json_decode(steps.cache_lookup.value) }