JsonArray.Insert(Integer, Date) Method
Version: Available or changed with runtime version 1.0.
Inserts the value at the given index in the array while shifting all the values to the right by one position.
[Ok := ] JsonArray.Insert(Index: Integer, Value: Date)
JsonArray
Type: JsonArray
An instance of the JsonArray data type.
Index
Type: Integer
Value
Type: Date
[Optional] Ok
Type: Boolean
true if the read was successful; otherwise, false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
Note
The JsonArray is 0-based by design.
JsonArray Data Type
Get Started with AL
Developing Extensions