Add support for PHP associative arrays as JSON objects
JsonDiff
, JsonPatch
, JsonPointer
now have a TOLERATE_ASSOCIATIVE_ARRAYS
flag that enables support for associative arrays instead of \stdClass
at cost of some compatibility and performance. Generally it is not recommended to this flag, but rather stick to \stdClass
.