Page MenuHomePhabricator

Consolidate JSON formatting
ClosedPublic

Authored by joshuaspence on Dec 30 2014, 1:32 PM.
Tags
None
Referenced Files
F18790427: D11085.id26630.diff
Wed, Oct 15, 2:23 PM
F18736851: D11085.id26608.diff
Wed, Oct 1, 8:00 AM
F18628118: D11085.diff
Tue, Sep 16, 5:37 AM
F18591442: D11085.diff
Sep 12 2025, 9:14 AM
F18514090: D11085.id.diff
Sep 5 2025, 10:00 AM
F18490273: D11085.id26608.diff
Sep 3 2025, 11:19 PM
F18467401: D11085.id26630.diff
Sep 2 2025, 12:40 PM
F18463272: D11085.diff
Sep 2 2025, 12:40 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.