Page MenuHomePhabricator

Consolidate JSON formatting
ClosedPublic

Authored by joshuaspence on Dec 30 2014, 1:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 28, 2:52 PM
Unknown Object (File)
Thu, Dec 26, 3:54 AM
Unknown Object (File)
Wed, Dec 18, 2:25 AM
Unknown Object (File)
Dec 6 2024, 12:42 PM
Unknown Object (File)
Dec 5 2024, 12:36 AM
Unknown Object (File)
Nov 28 2024, 4:49 AM
Unknown Object (File)
Nov 24 2024, 10:05 AM
Unknown Object (File)
Nov 20 2024, 11:49 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.