Page MenuHomePhabricator

Consolidate JSON formatting
ClosedPublic

Authored by joshuaspence on Dec 30 2014, 1:32 PM.
Tags
None
Referenced Files
F14073296: D11085.id.diff
Wed, Nov 20, 11:49 PM
Unknown Object (File)
Wed, Nov 20, 1:33 PM
Unknown Object (File)
Sat, Nov 16, 8:46 AM
Unknown Object (File)
Tue, Nov 12, 3:58 AM
Unknown Object (File)
Sun, Nov 10, 6:57 AM
Unknown Object (File)
Thu, Nov 7, 6:51 PM
Unknown Object (File)
Oct 19 2024, 10:17 AM
Unknown Object (File)
Oct 15 2024, 6:38 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.