Try OpenEdge Now
skip to main content
ABL Reference
Class, Interface, and Enumeration Reference : Progress.Json.ObjectModel.JsonObject class
 

Progress.Json.ObjectModel.JsonObject class

This class denotes a dynamic number of properties each addressable by a Unicode string called a name. The properties can be another JsonObject, a JsonArray, a value of any JSON data type or the JSON null value. JSON data types are String, Number and Boolean.

Serializable:

Yes

Constructors

PUBLIC JsonObject( )

Super Class

Progress.Json.ObjectModel.JsonConstruct class

Interfaces

This class does not implement an interface.

Public Properties

This class does not define properties.

Public Methods

Public Events

This class does not define events.

Notes

The following example shows the constructor for JsonObject:
DEFINE VARIABLE myObj AS JsonObject NO-UNDO.
DEFINE VARIABLE myLongchar AS LONGCHAR NO-UNDO.

myObj = NEW JsonObject( ).
myObj:Write(myLongchar, TRUE).
In the above example, myObj is an empty object. The variable myLongchar is set to the value of "{ }".