Phrogz / NeatJSON

Pretty-print your JSON in Ruby, JS, or Lua with more power than JSON.stringify or JSON.pretty_generate
http://phrogz.net/JS/NeatJSON
MIT License
108 stars 19 forks source link

Add comma-first formatting style. #4

Open Phrogz opened 9 years ago

Phrogz commented 9 years ago

In case people like the crazy.

var o =
    { a : "ape"
    , b : "bat"
    , c : "cat"
    , d : "dog"
    , e : "elf"
    , f : "fly"
    , g : "gnu"
    , h : "hat"
    , i : "ibu"
    }
  , a = 
    [ [ "ape", "bat" ]
    , [ "cat", "dog" ]
    , [ "elf", "fly" ]
    , [ "gnu", "hat" ]
    , [ "ibu" ]
    ];

More arguments for it here.

Phrogz commented 8 years ago

This feature is low-priority to me. If you want this, please comment here.

harry-wood commented 7 years ago

oh my. People actually do that, and have serious justification for it??