Page MenuHomePhabricator

Consolidate JSON formatting
ClosedPublic

Authored by joshuaspence on Dec 30 2014, 1:32 PM.
Tags
None
Referenced Files
F13288078: D11085.id26630.diff
Tue, Jun 4, 9:46 AM
F13285447: D11085.id26608.diff
Mon, Jun 3, 8:51 PM
F13261286: D11085.diff
Mon, May 27, 12:52 AM
F13243856: D11085.diff
Thu, May 23, 4:17 AM
F13222339: D11085.diff
Sun, May 19, 3:31 AM
F13202449: D11085.diff
Tue, May 14, 10:40 PM
F13191195: D11085.diff
Sat, May 11, 5:53 PM
Unknown Object (File)
May 5 2024, 12:07 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.