Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whothefluff/abap-json-renderer
Create JSON from ABAP
https://github.com/whothefluff/abap-json-renderer
abap json
Last synced: about 22 hours 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 (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-23T23:18:05.000Z (7 months ago)
- Last Synced: 2024-11-14T10:38:51.790Z (2 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 ).
```