HomePhabricator

Consolidate JSON formatting

Description

Consolidate JSON formatting

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"
}

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11085

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Dec 30 2014, 9:40 PM
Reviewer
Blessed Reviewers
Differential Revision
D11085: Consolidate JSON formatting
Parents
rPHU9319f6d50d52: Remove the `Futures()` method
Branches
Unknown
Tags
Unknown