Questions tagged [jsonbuilder]

78 questions
-1
votes
2 answers

Creation of dynamic payload in groovy script

I have to create a json payload using groovy which will be like- { "source":1, "target":0 } And the source and target values would change dynamically starting from 0. Can you help me with this?
-1
votes
1 answer

How to convert xml to json in Groovy?

In groovy I have the below xml USA United States of America CAN Canada I need to transform the above xml in groovy to the…
hpandalai
  • 438
  • 2
  • 13
  • 31
-4
votes
1 answer

How to create existing JSON in groovy, using JsonBuilder?

I'm looking for definition (structure) of object that can be converted to following JSON { "header":{ "callbackUrl":"", "clientOrderId":"A565132", "clientOriginationId":"2345FE", "serviceProvider":"VERIZON", …
mbeider
  • 15
  • 4
1 2 3 4 5
6