Previous Next

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:
Access:
Applies to:
 
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 Unkown value (?)
*

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.