Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How do I check for the well formed XML or JSON

Hi,

I want to check if the JSON or XML are well formed and raise an error if they are not. Please suggest the ways I can do this in Edge.

Solved Solved
0 7 2,807
1 ACCEPTED SOLUTION

If JSON, you can run a JS policy that simply performs JSON.parse().

If it works, then it is well formed.

View solution in original post

7 REPLIES 7