Hello. I was wondering if groovy provides any support for parsing JSON in Quickbuild? I see that Groovy supports this in general, but I can't seem to find a package that works from within Quickbuild. I have a need for this and was hoping to code this within Quickbuild. Thanks.
The JsonSlurper can be used. For instance:
groovy:
def jsonSlurper = new groovy.json.JsonSlurper()
def object = jsonSlurper.parseText('{ "name": "John Doe" } /* some comment */')
assert object instanceof Map
assert object.name == 'John Doe'