Create json in Groovy
Need to create Json like this
I'm able to create the below one but not the above one. I'm using def json = new JsonOutput().toJson(obj) for the below
Solved! Go to Solution.
Sorry for the inconvenience, @henil_shah. I didn't mean to bother you. I'm just passionate about helping people and always try to find solutions where possible.
It’s great to hear the issue is solved.
Have a great day!
SmartBear Assistant Community Manager