Ref T13635. PHP native JSON functions sometimes represent JSON objects as PHP "stdClass" objects.
Accept this representation and emit it correctly in "PhutilJSON".
Differential D21604
Improve "PhutilJSON" handling of PHP-object JSON values Authored by epriestley on Mar 11 2021, 7:22 PM. Tags None Subscribers None
Details
Ref T13635. PHP native JSON functions sometimes represent JSON objects as PHP "stdClass" objects. Accept this representation and emit it correctly in "PhutilJSON". Added a test, made it pass.
Diff Detail
|