SAP ABAP XML TO JSON ABEXA



Get Example source ABAP code based on a different SAP table
  


VX_EXA_ONLY

ABAP_JSON - Transformation of XML Data
Transforms XML data to JSON.

ABAP_SOURCE_CODE
DEMO CL_DEMO_XML_TO_JSON

ABAP_DESCRIPTION
This example demonstrates the transformation of XML data to JSON. This is achieved via token-based parsing of the XML data using methods of the sXML library and then token-based rendering of this data to JSON-XML. A JSON writer is filled directly. If an XML writer had been specified instead (shown as a comment in the source code), the result would be JSON-XML.