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.
PUBLIC JsonObject( )Public PropertiesPublic
Methods
Public
EventsThe 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 "{ }".
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |