Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Complex JSON to ABAP Deserialize

tjkalenga
Discoverer
0 Likes
649

Hi Expert,

I am struggling with converting a JSON structure to ABAP data.

The JSON looks like:

{

"_embedded" : {

"questionAnswerList" : [

{

"questionAnswer" : {

"active" : true,

"timeUpdated" : 1652553701033,

"timeCreated" : 1652553666540,

"purgeState" : null,

"uniqueName" : "QUESTANS16271309",

"itemId" : "3590224288",

"externalSystemCorrelationId" : "KI_12037751",

}

},

{

"questionAnswer" : {

"active" : true,

"timeUpdated" : 1652553701033,

"timeCreated" : 1652553666546,

"purgeState" : null,

"uniqueName" : "QUESTANS16271314",

"itemId" : "3590224289",

"externalSystemCorrelationId" : "KI_12037752",

} } ] }, "vendorInfo" : { "smVendorId" : "S1345814", "erpVendorId" : "2058002834", "anId" : "AN01010865301", "acmId" : "ACM_74733065" }}

Hi Expert,

I am struggling with converting a JSON structure to ABAP data.

The JSON looks like:

{

"_embedded" : {

"questionAnswerList" : [

{

"questionAnswer" : {

"active" : true,

"timeUpdated" : 1652553701033,

"timeCreated" : 1652553666540,

"purgeState" : null,

"uniqueName" : "QUESTANS16271309",

"itemId" : "3590224288",

"externalSystemCorrelationId" : "KI_12037751",

}

},

{

"questionAnswer" : {

"active" : true,

"timeUpdated" : 1652553701033,

"timeCreated" : 1652553666546,

"purgeState" : null,

"uniqueName" : "QUESTANS16271314",

"itemId" : "3590224289",

"externalSystemCorrelationId" : "KI_12037752",

} } ] }, "vendorInfo" : { "smVendorId" : "S1345814", "erpVendorId" : "2058002834", "anId" : "AN01010865301", "acmId" : "ACM_74733065" }}

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
596

It doesn't seem "complex". What did you try? Where are you stuck?