Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 ).
```