wiki.techinc.nl/tests/phpunit/unit/includes/json
thiemowmde d4d070c6e9 json: Dont try to deserialize actual user-land instances
A valid JSON serialization is an instance of PHP's stdClass. A check
with is_object() is not sufficient in this case because it includes
everything else that's also a class in PHP.

This should help to uncover programming errors like the one in
I969d8c4.

Bug: T312589
Change-Id: I917d49944497b19909a9a1d1e2861e86e7a0aca8
2023-01-26 21:17:21 +00:00
..
FormatJsonTest.php
JsonCodecTest.php json: Dont try to deserialize actual user-land instances 2023-01-26 21:17:21 +00:00