Skip to content


Folders and files

Last commit message
Last commit date

Latest commit


ABAP to JSON serializer and deserializer

REUSE status

About this project

This is an Open source version of the standard /UI2/CL_JSON class and its public documentation previously available on SCN wiki as "One more ABAP to JSON Serializer and Deserializer" from 2013. The official delivery of /UI2/CL_JSON will continue. The Open Source version (Z_UI2_JSON) is your way to contribute and get updates sooner using ABAP Git infrastructure.


There are a lot of other implementations of the ABAP to JSON Serializer and Deserializer in SDN. Still, I found all implementations unsuitable for my needs for different reasons. From SAP_BASIS 7.40 there is also a simple transformation available for converting ABAP to JSON and JSON to ABAP. It is the best choice if you need maximal performance and do not care about serialization format, but it fits badly for properly handling ABAP types and name pretty-printing.

So, I have written my ABAP JSON serializer and ABAP JSON deserializer which has some key differences from other implementations.

Here you can find an Open Source version of the standard /UI2/CL_JSON class in the form of a Z* class that you can use as a local class or as a global one.

An original and current source version can be found in class /UI2/CL_JSON delivered with UI2 Add-on (can be applied to SAP_BASIS 740 – 76X). So, you can use this ABAP JSON parser in your standard code mostly on any system.


If for some reason the solution does not fit your purposes, there are other alternatives you may try:


The Code

Requirements and Setup

Install via abapGit Eclipse plugin on ABAP cloud systems and abapGit for SAPGUI on systems with SAP_BASIS 7.57 or higher.

Support, Feedback, Contributing

This project is open to feature requests/suggestions, bug reports, etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, and additional contribution information, see our Contribution Guidelines. The contribution in the Open Source version will be then integrated into the standard SAP-delivered version (/UI2/CL_JSON). You can also use Github Discussion to comment, request features or discuss the behavior.

Code of Conduct

Members, contributors, and leaders pledge to make participation in our community a harassment-free experience. By participating in this project, you agree to always abide by its Code of Conduct.


Copyright 2013-2023 SAP SE or an SAP affiliate company and contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.