[phobos] [D-Programming-Language/phobos] a6afc9: Add formatting option to `std.json.toJSON`.

GitHub noreply at github.com
Wed Jun 12 16:46:42 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: a6afc98eeb783bd7547aac9c1660ccf5dbccde1f
      https://github.com/D-Programming-Language/phobos/commit/a6afc98eeb783bd7547aac9c1660ccf5dbccde1f
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2013-06-12 (Wed, 12 Jun 2013)

  Changed paths:
    M std/json.d

  Log Message:
  -----------
  Add formatting option to `std.json.toJSON`.

This allows JSON to be used as a temporary serialization format when debugging an application as it becomes human- and diff-readable.

Empty JSON object/array is formatted as "{}"/"[]".


  Commit: 23d15e2fcb7206302c02b2e5a881360538bce756
      https://github.com/D-Programming-Language/phobos/commit/23d15e2fcb7206302c02b2e5a881360538bce756
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2013-06-12 (Wed, 12 Jun 2013)

  Changed paths:
    M std/json.d

  Log Message:
  -----------
  Merge pull request #1263 from denis-sh/std.json-improvements-3

Add formatting option to `std.json.toJSON`.


Compare: https://github.com/D-Programming-Language/phobos/compare/d13c4323db8a...23d15e2fcb72


More information about the phobos mailing list