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.
Differential D21605
In JSON DocumentEngine, preserve the distinction between "{}" and "[]" epriestley on Mar 11 2021, 8:43 PM. Authored by Tags None Referenced Files
Subscribers None
Details
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.
Diff Detail
|