SAP ABAP JSON TOKEN WRITER ABEXA

Get Example source ABAP code based on a different SAP table
  


ARTICLE

JSON, Render
The example demonstrates the rendering of JSON data.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
An XML string writer from XML Library is created as a JSON-Writer with the type IF_SXML=>CO_XT_JSON. Token-based rendering methods are used to fill the writer with XML elements that create a valid JSON-XML representation. The result is a string with valid JSON data.