Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3347

Re: Convert the JSON to an ABAP structure

$
0
0

Hello Nagaraju,

 

Some changes in the json_response string as below

json_response = '{TOKEN:"sometokenstring",TOKEN_TYPE:"sometokentypestring",KEY:"somekeystring"}'  and your code works.

 

Changes - 1. The field name should not be within double quotes.

2.  Precede the json object with single quote.

 

Output is -

 

json.jpg

 

BR.


Viewing all articles
Browse latest Browse all 3347


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>