FLAT
FLAT
Couper
Sevenval Technologies
Docker Image
Github
master
FLAT
Cookbook
Reference
Functions
xml-parse()
urldecode(), url-decode()
ends-with()
join()
split()
content()
array()
json-to-csv()
decrypt-xml()
json-stringify()
replace()
base64-encode()
verify-signature()
matches()
body()
ldap-query()
trim()
calc-signature()
array-reverse()
sort()
file-exists()
decrypt()
get-log()
jwt-encode()
apply-codecs()
base64-decode()
uuid3() and uuid4()
lookup()
json-to-xml()
fit-log()
toupper()
fit-document()
tolower()
has-class()
encrypt()
urlencode(), url-encode()
unixtime()
fit-serialize()
xml-to-json()
jwt-decode()
json-doc()
html-parse()
verify-xmldsig()
ldap-lookup()
capitalize-first()
md5()
json-parse()
Flow Actions
OpenAPI / Swagger Integration
Templating
Variables
Flow
Configuration
Testing
flat CLI
Debugging
Administration
Tutorial
Changelog
Powered by GitBook

json-parse()

OXN-node-set json-parse(string json)

Parses a JSON text into a structured JSON document (OXN) and returns its root node.

Parameters

  • json: A valid JSON in serialized form (string).

If the parameter cannot be decoded, the function returns an empty node-set.

Example

json-parse('{"active":true}')/active = true()
json-parse($data/description)
json-parse(json-stringify($body))

See also

  • ​json-stringify()​

  • ​assert​

Previous
md5()
Next
Flow Actions
Last updated 1 year ago
Edit on GitHub
Contents
Parameters
Example
See also