Try OpenEdge Now
skip to main content
Working with JSON
Using JSON with OpenEdge : Parsing JSON into and serializing JSON from an ABL data object model : Use Cases
 

Use Cases

The JSON object model provides the flexibility to interact with JSON in a rich internet application (RIA) that you might develop using WebSpeed or AppServer back end. Frameworks such as AJAX contain JavaScript object libraries with full JSON support. A typical use of the API might be as follows:
1. The AppServer application receives a request containing JSON.
2. The JSON is parsed to create a tree of JsonObjects and JsonArrays.
3. Based on the content of the generated objects, the application responds to the request, and gathers results.
4. These results are used to modify the existing tree or create a new tree of JSON objects.
5. The application serializes the resulting tree and sends the serialized JSON back as a response.
6. The application deletes the tree(s) of JSON objects.
* ABL Support