This method is useful in situations where you know at compile time that are setting an element to the JSON null value. To use one of the Set( ) overloadings, you must set a variable to the Unknown value (?) first, and then call Set( ) with the variable. Using the Unknown value (?) as a constant in one of the Set( ) overloadings will cause a compilation error, because the compiler cannot resolve the overloading to be used.
Return type:
Access:
Applies to:
SetNull( INPUT index AS INTEGER )A JsonError is raised if index is less than 1, is greater than the length of the JsonArray, or is the Unknown value (?).
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |