Page MenuHomePhabricator

Consolidate JSON formatting
ClosedPublic

Authored by joshuaspence on Dec 30 2014, 1:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 9, 1:14 PM
Unknown Object (File)
Wed, May 7, 9:25 PM
Unknown Object (File)
Tue, May 6, 8:09 AM
Unknown Object (File)
Mar 23 2025, 4:01 PM
Unknown Object (File)
Mar 23 2025, 1:36 AM
Unknown Object (File)
Mar 20 2025, 12:31 PM
Unknown Object (File)
Mar 19 2025, 6:03 AM
Unknown Object (File)
Mar 17 2025, 2:53 AM
Subscribers

Details

Summary

In some places {"foo" : "bar"} is used, whilst in other places {"foo": "bar"} is used, This diff attempts to consolidate these differences and adopt a more standard JSON format.

Test Plan
> print_r(id(new PhutilJSON())->encodeFormatted(array('foo' => 'bar')));
{
  "foo": "bar"
}

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Consolidate JSON formatting.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Dec 30 2014, 2:28 PM
This revision was automatically updated to reflect the committed changes.