Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timostark/abap-json-serialization
Fastest possible JSON serialization
https://github.com/timostark/abap-json-serialization
Last synced: 6 days ago
JSON representation
Fastest possible JSON serialization
- Host: GitHub
- URL: https://github.com/timostark/abap-json-serialization
- Owner: timostark
- License: mit
- Created: 2022-10-27T15:11:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-27T20:06:01.000Z (about 2 years ago)
- Last Synced: 2024-08-02T19:01:49.971Z (4 months ago)
- Language: ABAP
- Size: 5.86 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- abap-florilegium - abap-json-serialization
README
# abap-json-serialization
Fastest possible JSON serializationSee blog post https://blogs.sap.com/2022/10/27/abap-fast-json-serialization/ for details.
Execute program ZJSON_TO_XSLT to generate specialized JSON XSLT transformations.
Execute the specificly created transformation using following sample code.DATA(lo_writer_json) = cl_sxml_string_writer=>create( type = if_sxml=>co_xt_json ).
CALL TRANSFORMATION ZSFLIGHT SOURCE root = lt_flights RESULT XML lo_writer_json.
DATA(lv_json) = cl_abap_codepage=>convert_from( lo_writer_json->get_output( ) ).