Skip to Content
0
Jan 15, 2023 at 09:20 AM

Json to abap coversion not happening

188 Views

Hello All,

I am using mthod cl_fdt_json=>json_to_data to convert my json response to abap structure but i am not getting data back in abap structure . below is the json response and the abap structure. please help to identify the issue? its urgent.

{
   "destination_addresses" : [ "Zeppelinstraße 100, 73730 Esslingen am Neckar, Germany" ],
   "origin_addresses" : [ "Auf d. Rut 4, 64668 Rimbach, Germany" ],
   "rows" : [
      {
         "elements" : [
            {
               "distance" : {
                  "text" : "171 km",
                  "value" : 171307
               },
               "duration" : {
                  "text" : "2 hours 6 mins",
                  "value" : 7581
               },
               "status" : "OK"
            }
         ]
      }
   ],
   "status" : "OK"
}

image.png

image.png

Attachments

image.png (25.7 kB)
image.png (32.4 kB)