JsonArray.Get(Integer, var JsonToken) Method
Version: Available or changed with runtime version 1.0.
Retrieves the value at the given index in the JsonArray.
Syntax
[Ok := ] JsonArray.Get(Index: Integer, var Result: JsonToken)
Parameters
JsonArray
Type: JsonArray
An instance of the JsonArray data type.
Index
Type: Integer
The index of the element in the JsonArray that you want to retrieve.
Result
Type: JsonToken
A variable of type JsonToken that will contain the result if the operation is successful.
Return Value
[Optional] Ok
Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
Remarks
Note
The JsonArray is 0-based by design.
The operation will fail if the Index is smaller than 0 or greater or equal than JsonArray.Count.
See Also
JsonArray Data Type
Get Started with AL
Developing Extensions
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기