SetNull( ) method (JsonObject)
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
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
|
- property-name
- A CHARACTER expression naming the existing property to be set to null.
property-name is case-sensitive.
A JsonError is raised if:
-
property-name is the empty string (""), or is the Unknown value
(
?) - The property does not exist