API ReferenceJSON
JSONArrInsert
Insert values into a JSON array at a specific index
Syntax
Redix.JSONArrInsert(key, path, index, value1, value2, ...)Parameters
Prop
Type
Returns
Prop
Type
Example
-- Insert at beginning
Redix.JSONArrInsert('character:123', '$.inventory', 0, {
item = 'key',
quantity = 1
})