Ludo15101966
7 years agoContributor
JsonSlurper
Hello,
I was previously using the groovy class JsonSlurper to edit a json before sending it to REST web services
seems that the class is no more supported
what is the workaround to do the same thing
- create a json object using template string
- modifying the json structure
- sending the json string to web service
thank you
regards
Have you imported JsonSlurper into your script with:
import groovy.json.JsonSlurper
Mo