divergentor
9 years agoOccasional Contributor
How to parse JSON in javascript
Hello, community.
I couldn't find a way to parse JSON in javascript. Could anybody help me?
I casual JS I can use JSON.parse. But it is invalid case for SOAPUI.
I know that for grove it's a lot of examples with JsonSlurper, in my case I'm using only javascript.
My scenario:
I have REST request which returns we JSON.
To this request I have added Script Assertion in which I want to check value from JSON response and value from custom property.
Thanks in advance.