Serializes the JsonConstruct (JsonObject or JsonArray) 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 ABSTRACT
Applies to: Progress.Json.ObjectModel.JsonConstruct 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 topics on alternate I/O sources in OpenEdge Programming Interfaces.
If you specify the Unknown value (?), the method uses the default value of FALSE.