RubyGems Navigation menu

neatjson 0.9

Generate JSON strings from Ruby objects with flexible formatting options. Key features: keep arrays and objects on a single line when they fit; format floats to specific precision; sort and align object keys; adjust whitespace padding of arrays and objects, inside and around commas and colons. JavaScript version included.

Versions:

  1. 0.9 - July 29, 2019 (38 KB)
  2. 0.8.4 - May 03, 2018 (35.5 KB)
  3. 0.8.3 - February 21, 2017 (35 KB)
  4. 0.8.2 - December 19, 2016 (35 KB)
  5. 0.8.1 - April 22, 2016 (34 KB)
Show all versions (20 total)

Owners:

Pushed by:

Authors:

  • Gavin Kistner

SHA 256 checksum:

9cd9e1f6614ab31d045d9ae32ddf52bda8b3c3c909c7027104720c62d6d94239

Total downloads 389,373

For this version 8,046

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 0

Links: