Page MenuHomePhabricator

Consolidate JSON formatting
ClosedPublic

Authored by joshuaspence on Dec 30 2014, 1:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 5, 12:07 AM
Unknown Object (File)
Wed, May 1, 2:24 PM
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)
Apr 9 2024, 5:29 AM
Unknown Object (File)
Apr 9 2024, 5:29 AM
Unknown Object (File)
Apr 9 2024, 5:25 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
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3386
Build 3393: [Placeholder Plan] Wait for 30 Seconds

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.