Skip to Content
-1
Aug 11, 2023 at 10:26 AM

How to create a type in SAP to serialize and deserialize the json with string and number format

53 Views

hi all,

I have the following JSON format and would like to know how to serialize and deserialize it in ABAP.

{sample: true

ABC: [ [ 2, " ABC " ], [3, "CDS],[4,"TAB"]..]

}

Here my doubt is

What kind of ABC should there be here, I wonder?

I can create a table of tables, however the values in the table are only strings and integers without any further components.