Skip to content

Add support for PHP associative arrays as JSON objects

Compare
Choose a tag to compare
@vearutop vearutop released this 24 Apr 12:58
· 73 commits to master since this release
de18f54

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.