Categories: Uncategorized

Complete JSON utility class example

Following my previous post, where I showed a solution for translating JSON to an ABAP data structure, I am just posting an example of a class that will allow you to do both (ABAP to JSON and vice versa).


JSON to ABAP data structure program

On my current project, I had to write some ABAP code to convert a (deep) ABAP structure to JSON. I have seen at least two projects out there that do the same thing, but nothing that converts JSON to ABAP. So I set out to produce an ABAP program to do this.