Try OpenEdge Now
skip to main content
Working with JSON
Using JSON with OpenEdge : ABL serialization of ProDataSets, Temp-tables, Temp-Table buffer objects to/from JSON : ABL support

ABL support

The serialization features are provided by the following methods on buffers, temp-tables, and ProDataSets:
*READ-JSON( ) method — Reads a JSON string into a temp-table or ProDataSet
*SERIALIZE-ROW( ) method — Writes the current contents of a buffer to a JSON string
*WRITE-JSON( ) method — Writes the contents of a temp-table or ProDataSet to a JSON string
ABL also supports the following methods:
*JsonObject:Read( ) method — Reads the data from a ProDataSet, Temp-table or Temp-table buffer object to generate a JSON Object.
*JsonArray:Read( ) method — Reads the data from Temp-Table object to generate a JSON Array.
You do not need to be familiar with JSON to use these methods and the associated attributes.