Page MenuHomePhabricator

Consolidate JSON formatting
ClosedPublic

Authored by joshuaspence on Dec 30 2014, 1:32 PM.
Tags
None
Referenced Files
F15427788: D11085.id26608.diff
Sun, Mar 23, 4:01 PM
F15424990: D11085.id26608.diff
Sun, Mar 23, 1:36 AM
F15416617: D11085.id26608.diff
Thu, Mar 20, 12:31 PM
F15409944: D11085.id26630.diff
Wed, Mar 19, 6:03 AM
F15399104: D11085.diff
Mon, Mar 17, 2:53 AM
F15388542: D11085.id26608.diff
Sat, Mar 15, 3:59 AM
F15379209: D11085.diff
Thu, Mar 13, 7:25 PM
Unknown Object (File)
Fri, Feb 28, 8:47 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
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.