Closed mish15 closed 7 years ago
Need to use JSON_FORCE_OBJECT
If the meta field is empty it is passed as an array instead of an object, it then cannot be unpacked into a map and the JSON decoding fails. This shouldn't be possible. If empty it should either not be sent or should be sent as an object.
This doesn't apply to the new version.
Need to use JSON_FORCE_OBJECT
If the meta field is empty it is passed as an array instead of an object, it then cannot be unpacked into a map and the JSON decoding fails. This shouldn't be possible. If empty it should either not be sent or should be sent as an object.