RubyGems Navigation menu

neatjson 0.8

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.10.5 - November 18, 2022 (40 KB)
  2. 0.10.4 - November 17, 2022 (40 KB)
  3. 0.10.1 - August 29, 2022 (39.5 KB)
  4. 0.10 - August 29, 2022 (39.5 KB)
  5. 0.9 - July 29, 2019 (38 KB)
  6. 0.8 - April 21, 2016 (13.5 KB)
Show all versions (24 total)

Owners:

Authors:

  • Gavin Kistner

SHA 256 checksum:

2071d8f634e3acac6eefa8ab7d2a5fa29724524cca901f7f3e01ba4b7eef9a1b

Total downloads 5,486,528

For this version 1,962

License:

MIT license (MIT)

Required Ruby Version: >= 0

Links: