Remove( ) method (JsonArray)

Removes one or more elements from the JsonArray. All the remaining elements are shifted up and JsonArray:Length is decremented by the number of elements removed.

Return type: LOGICAL

Access: PUBLIC

Applies to: Progress.Json.ObjectModel.JsonArray class

Syntax

Remove( INPUT index AS INTEGER )

Remove( INPUT index AS INTEGER,
        INPUT count AS INTEGER )
index
Indicates an INTEGER identifying the element to be removed. Indexing into JsonArray is 1-based.
count
An INTEGER parameter that specifies the number of elements, starting with the element at index, to remove.

A JsonError is raised if: