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 epriestley on Mar 11 2021, 7:22 PM. Authored by Tags None Referenced Files
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
|