SAP ABAP JSON ASJSON STRUC ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_JSON - asJSON for Structures
This example demonstrates asJSON for a structure.

ABAP_SOURCE_CODE
DEMO CL_DEMO_ASJSON_STRUCTURES

ABAP_DESCRIPTION
The identity transformation ID, for which a JSON writer is specified as the XML target, is called to create the asJSON representation of a structure.
For comparison, the JSON-XML representation of the JSON data and the asXML representation of the ABAP data is also shown.