HomeSealhub

Improve "PhutilJSON" handling of PHP-object JSON values

Description

Improve "PhutilJSON" handling of PHP-object JSON values

Summary:
Ref T13635. PHP native JSON functions sometimes represent JSON objects as PHP "stdClass" objects.

Accept this representation and emit it correctly in "PhutilJSON".

Test Plan: Added a test, made it pass.

Maniphest Tasks: T13635

Differential Revision: https://secure.phabricator.com/D21604

Details

Provenance
epriestleyAuthored on Mar 11 2021, 20:20
kuba-orlikPushed on Jan 24 2022, 10:17
Parents
R118:2d6452acb5f1: In Arcanist, when trying to write to a file configuration source, create…
Branches
Unknown
Tags
Unknown

Event Timeline