Forum Discussion
nmrao
Champion Level 3
Have you tried putting it in quotes?
jsonData.Report.each { log.info it.'Completion Date'}
jsonData.Report.each { log.info it.'Completion Date'}
Sphujidhwaj
9 years agoContributor
Yes,
But even before that I get an error Content is not allowed in Prolog.
I am not able to resolve this to check whether the above code gives the desired output.
Thanks,
SD
- nmrao9 years agoChampion Level 3May be you want to show the exact response, probably raw?
- Sphujidhwaj9 years agoContributor
Cannot post the content as it is very huge (exceeds more than 5000 lines) but can paste the part of the output.
this is how it looks:
Tue Mar 22 13:50:38 IST 2016:INFO:{ "Rpt": [ { "Name": ",", "Number": " ", "Type": "", "Desc": "Desc", Grp Name": " ",
Thanks,
SD- nmrao9 years agoChampion Level 3Little confused with the above.
Sorry to ask again, Can you clarify if the response is an xml or a json?
In the question, it is mentioned xml contains json as part of cdata.
But when asked for raw response, only json is being shown.
Related Content
Recent Discussions
- 3 days agoKLWallace