‎2014 Sep 24 1:33 PM
We're on version 7.02. We have a need to parse JSON data, specifically in OData format. I've tried creating a simple transform (ST), but have run into conversion and others issues, etc. I've created XSLT transforms for XML data to ABAP in the past, just fine.
Thanks
‎2014 Sep 25 2:56 PM
Here is example Odata:
{
"odata.metadata":"http://plpc-11558.cnsl.com/PelotonService/odata/$metadata#Wells","value":[
{
"id":"00059D965F","name":"7778"
},{
"id":"000C169678","name":"test"
}
]
‎2014 Sep 25 2:56 PM
Here is example Odata:
{
"odata.metadata":"http://plpc-11558.cnsl.com/PelotonService/odata/$metadata#Wells","value":[
{
"id":"00059D965F","name":"7778"
},{
"id":"000C169678","name":"test"
}
]
‎2014 Sep 25 4:37 PM
Figured it out: for some reason, the TRANSFORMATION was failing on this string: odata.metadata
As soon as I removed the ".", everything started working.