Serializes the JsonObect and any JsonConstructs it references to a statically defined output stream.. This is a recursive process resulting in a JSON representation of the entire set of JsonObjects and JsonArrays. On successful execution the method returns TRUE.
Return type: LOGICAL
Access: PUBLIC
Applies to: Progress.Json.ObjectModel.JsonObject class
WriteStream(INPUT stream AS CHARACTER) WriteStream(INPUT stream AS CHARACTER, INPUT formatted AS LOGICAL) WriteStream(INPUT stream AS CHARACTER, INPUT formatted AS LOGICAL, INPUT encoding AS CHARACTER) |
For more information about using ABL unnamed output streams, see the DEFINE STREAM statement reference entry and the chapter on alternate I/O sources in OpenEdge Development: Programming Interfaces. For more information about using WebSeed-defined output streams, see OpenEdge Application Server: Developing WebSpeed Applications.
If you specify the Unknown value (?), the method uses the default value of FALSE.