https://github.com/whothefluff/abap-json-renderer
Create JSON from ABAP
https://github.com/whothefluff/abap-json-renderer
abap json
Last synced: about 2 months ago
JSON representation
Create JSON from ABAP
- Host: GitHub
- URL: https://github.com/whothefluff/abap-json-renderer
- Owner: whothefluff
- Created: 2024-06-23T23:16:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-23T23:18:05.000Z (about 2 years ago)
- Last Synced: 2025-10-06T20:56:40.825Z (9 months ago)
- Topics: abap, json
- Language: ABAP
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# abap-json-renderer
ABAP variables to JSON format
## Use
- Create an instance of the renderer injecting an **engine**[^1]:
```abap
data(json_renderer) = new zcl_json_renderer( new zcl_json_renderer_eng_id_st( ) ).
```
[^1]: You can implement interface _ZIF_JSON_RENDERER_ENGINE_ to tweak the process
- Call the method with the variable as an argument:
```abap
data(json) = json_renderer->render( itab ).
```