Normalize Json Example
Property names should be quoted in Json, although the quotes are often omitted. The Json parser will introduce the quotes when they are missing. Whitespace that is outside of any string values will be removed, inside of strings it's escaped.
Smartsite SXML | Copy Code |
---|---|
<se:json resulttype="string" resultformat="{this.get(true)}"> {the: "quick", brown: 6,fox: { jumps: "over", the: "lazy dog." }} </se:json> |
Example Result | Copy Code |
---|---|
{ "the" : "quick", "brown" : 6, "fox" : { "jumps" : "over", "the" : "lazy\r\n\t\tdog." } } |