# Test with global JSON flag (no json: true in commands) - name: "JSONArrayMultiply" lua: | for i, item in ipairs(data.items) do data.items[i].value = item.value * 2 end return true files: ["testfiles/test2.json"] - name: "JSONObjectUpdate" lua: | data.version = "3.0.0" data.enabled = false return true files: ["testfiles/test2.json"]