Skip to main content

$$jsonparse

Parses input as JSON string

Usage​

{ 
"$$jsonparse": /* JSON serialized string */
}
"$$jsonparse:{input}"

Returns​

Parsed value

Arguments​

ArgumentTypeValuesRequired / Default ValueDescription
PrimarystringYesJSON serialized string

Examples​

Input

Definition

Output

"\"text\""
"$$jsonparse:$"
"text"
"\"text\""
"$$jsonparse():$"
"text"
"true"
"$$jsonparse:$"
true
"123"
"$$jsonparse:$"
123
"\"1234567890.098765432123456789\""
"$$jsonparse:$"
"1234567890.098765432123456789"
"\"123456789123456789123456789123456789\""
"$$jsonparse:$"
"123456789123456789123456789123456789"
"{\"a\":\"b\"}"
"$$jsonparse:$"
{
"a": "b"
}
"[\"a\",\"b\"]"
"$$jsonparse:$"
[
"a",
"b"
]
"{\"a\":\"b\"}"
{
"$$jsonparse": "$"
}
{
"a": "b"
}