Homec4science

Consolidate JSON formatting

Authored by Joshua Spence <josh@joshuaspence.com> on Dec 30 2014, 22:39.

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

Committed
Joshua Spence <josh@joshuaspence.com>Dec 30 2014, 22:39
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU9319f6d50d52: Remove the `Futures()` method
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPHUd0344553072a: Consolidate JSON formatting (authored by Joshua Spence <josh@joshuaspence.com>).Dec 30 2014, 22:39