Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 1.0.
Determines the index of a specific value in the JsonArray.
Syntax
Index := JsonArray.IndexOf(Value: JsonToken)
Parameters
JsonArray
Type: JsonArray
An instance of the JsonArray data type.
Value
Type: JsonToken
Return Value
Index
Type: Integer
The position of the value in the JsonArray. -1 will be returned if Value cannot be found in the array.
Remarks
Note
The JsonArray is 0-based by design.
Related information
JsonArray Data Type
Get Started with AL
Developing Extensions