title | description | ms.author | ms.date | ms.tgt_pltfrm | ms.topic | author |
---|---|---|---|---|---|---|
JsonArray.IndexOf(Boolean) Method |
Determines the index of a specific value in the JsonArray. |
solsen |
02/26/2024 |
na |
reference |
SusanneWindfeldPedersen |
Version: Available or changed with runtime version 1.0.
Determines the index of a specific value in the JsonArray.
Index := JsonArray.IndexOf(Value: Boolean)
JsonArray
Type: JsonArray
An instance of the JsonArray data type.
Value
Type: Boolean
Index
Type: Integer
The position of the value in the JsonArray. -1 will be returned if Value cannot be found in the array.
Note
The JsonArray is 0-based by design.
JsonArray Data Type
Get Started with AL
Developing Extensions