GetDate( INPUT index AS INTEGER,
INPUT count AS INTEGER )
When this method is called with one parameter, the value of a single element is returned. Using two parameters directs the AVM to return an ABL array consisting of count elements.
index
An INTEGER identifying the value of the element to be returned. Indexing into JsonArrays is 1-based.
count
An INTEGER identifying the value of the element to be returned. Indexing into JsonArrays is 1-based.
A JsonError is raised if:
index is less than 1, greater than the length of the JsonArray, or is the Unknown value (?)
count is less than 1, or is the Unknown value (?)
The sum of index and count is greater than the length of the JsonArray
Any element is not a JSON string
Any element cannot be parsed as an ISO 8601 date in the "YYYY-MM-DD" format