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: