Try OpenEdge Now
skip to main content
Working with JSON
Parsing and Serializing JSON Objects and Arrays : Introduction to the JSON object model in ABL
 

Introduction to the JSON object model in ABL

The object model represented by the Progress.Json.ObjectModel package is based on the JavaScript concepts of objects and arrays. The programming model for the ABL JSON parser is to complete the parsing all at once to generate a tree of constructs. These constructs represent JSON objects and arrays.
The following figure shows the inheritance relationship between the parser classes:
Figure 1. Parser class hierarchy
The following figure shows the inheritance relationship between the classes in the Progress.Json.ObjectModel package:
Figure 2. JSON Object Model Hierarchy
Note: Objects of type JsonObject, JsonArray, and ObjectModelParser from the Progress.Json.ObjectModel package can be passed between an AppServer and an ABL client. For more information on passing objects between an AppServer and an ABL client, see OpenEdge Application Server: Developing AppServer Applications.
* JsonObject
* JsonArray