length = redis.json.arrinsert("key", "$.path.to.array", 2, "a", "b")
Insert the json values into the array at path before the index (shifts to the right).
Was this page helpful?