Try OpenEdge Now
skip to main content
ABL Reference
Class Properties and Methods Reference : SetNull( ) method (JsonObject)
 

SetNull( ) method (JsonObject)

Set the named property of JsonObject to null.
This method is useful in situations where you know at compile time that you'll be setting property to the JSON null value. Using the Unknown value (?) as a constant in one of the Set( ) overloadings causes a compilation error, because the compiler is unable to resolve the overloading to use. On successful completion, the method returns TRUE.
Return type: LOGICAL
Access: PUBLIC
Applies to: Progress.Json.ObjectModel.JsonObject class

Syntax

SetNull( INPUT property-name AS CHARACTER )
property-name
A CHARACTER expression naming the existing property to be set to null.
A JsonError is raised if:
*property-name is the empty string (""), or is the Unknown value (?)
*The property does not exist