RubyGems Navigation menu

neatjson 0.10.5

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)
Show all versions (24 total)

Owners:

Pushed by:

Authors:

  • Gavin Kistner

SHA 256 checksum:

1ac432ab40c5b7ede55918fc78af996494c24b51ce3c3ea0f63f1bea11a6a172

Total downloads 5,471,439

For this version 254,293

License:

MIT

Required Ruby Version: >= 0

Links: