Serializes the JsonObect and any JsonConstructs it references to an output file. 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
WriteFile( INPUT file-name AS CHARACTER ) WriteFile( INPUT file-name AS CHARACTER, INPUT formatted AS LOGICAL ) WriteFile( INPUT file-name AS CHARACTER, INPUT formatted AS LOGICAL, INPUT encoding AS CHARACTER ) |
If you specify the Unknown value (?), the method uses the default value of FALSE.