Page MenuHomePhabricator

Consolidate JSON formatting
ClosedPublic

Authored by joshuaspence on Dec 30 2014, 1:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 1:41 AM
Unknown Object (File)
Wed, Apr 24, 6:43 AM
Unknown Object (File)
Sun, Apr 21, 6:51 PM
Unknown Object (File)
Tue, Apr 9, 5:29 AM
Unknown Object (File)
Tue, Apr 9, 5:29 AM
Unknown Object (File)
Tue, Apr 9, 5:25 AM
Unknown Object (File)
Tue, Apr 9, 5:14 AM
Unknown Object (File)
Fri, Mar 29, 6:03 PM
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.