This method is useful in situations where you know at compile time to add JSON null values. To use one of the Add( ) overloadings, you must set a variable to the Unknown value (?) first, then call Add( ) with the variable. Using the Unknown value (?) value as a constant in one of the Add( ) overloadings causes a compilation error because the compiler is unable to resolve the overloading to be used.
Return type:
Access:
Applies to:
AddNull ( )AddNull ( INPUT count AS INTEGER )AddNull ( INPUT index AS INTEGER ,INPUT count AS INTEGER )If index is the Unknown value (?), or less than 0, or greater than the length of the array, a JsonError is raised.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |