When a patch is generated for an array, the index of the changed elements is used as the key for the definition of the change within the patch. This lead to a patch that contains numbers as keys, which is not compliant with JSON.
Therefore, where indices are concerned, they should probably be escaped as strings. Adding an underscore in front of indices might be a valid way to go.
When a patch is generated for an array, the index of the changed elements is used as the key for the definition of the change within the patch. This lead to a patch that contains numbers as keys, which is not compliant with JSON.
Therefore, where indices are concerned, they should probably be escaped as strings. Adding an underscore in front of indices might be a valid way to go.