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 : JavaScript data model
 

JavaScript data model

JSON objects and arrays in the ABL are based on the objects and arrays of the JavaScript data model.
JavaScript objects are associative arrays. Object property names can be any Unicode string. Properties and their values can be added, changed, or deleted at runtime. In addition to the properties being added and deleted, the data type of a property can also be changed at runtime.
A JavaScript array is also a type of JavaScript object. In these arrays, the properties are accessed by a numeric index. Each property is referred to as an element. Each element can have its data type changed at runtime. Hence, it supports heterogeneous arrays (arrays with elements that do not all have the same data type).