Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Version: Available or changed with runtime version 1.0.
Replaces the value at the given index with a new value.
Syntax
[Ok := ] JsonArray.Set(Index: Integer, Result: Decimal)
Parameters
JsonArray
Type: JsonArray
An instance of the JsonArray data type.
Index
Type: Integer
Result
Type: Decimal
Return Value
[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.
Remarks
Note
The JsonArray is 0-based by design.
Related information
JsonArray Data Type
Get Started with AL
Developing Extensions