HomePhorge

In JSON DocumentEngine, preserve the distinction between "{}" and "[]"

Description

In JSON DocumentEngine, preserve the distinction between "{}" and "[]"

Summary:
Ref T13635. Currently, the JSON DocumentEngine uses "phutil_json_decode()", but this can confuse "{}" and "[]".

Be more careful about how the JSON value is decoded, to preserve the distinction.

Test Plan: {F8520479}

Maniphest Tasks: T13635

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

Details

Provenance
epriestleyAuthored on Mar 11 2021, 11:48 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP0815891e4263: Fix an error when users receive notifications about objects they can no longer…
Branches
Unknown
Tags
Unknown

Event Timeline