jsonslurper Questions
2
I am using Acive Choice Reactive Parameter plugin to list down Nexus Artifacts. This is the groovy script which I'm currently using.
import groovy.json.*
def targetUrl = "https://nexus.xxxx.l...
Lorenzetti asked 24/6, 2020 at 4:49
3
I need to check that a string is valid JSON in Groovy. My first thought was just to send it through new JsonSlurper().parseText(myString) and, if there was no exception, assume it was correct.
How...
Gipsy asked 26/1, 2018 at 20:39
2
Solved
I have a rest API to test and I have to compare two json responses. Below you can find a structure of the file. Both files to compare should contains the same elements but order might be different....
Adolfo asked 29/10, 2015 at 9:48
1
Solved
Big trouble out in code-land and thus I am in need of help!
Using Groovy and JsonSlurper I am processing JSON of the form below. I am looking for the outside containing element (in my case this al...
Longstanding asked 22/1, 2015 at 18:42
1
© 2022 - 2024 — McMap. All rights reserved.