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.
Required Ruby Version
>= 0
Authors
Gavin Kistner
Versions
-
0.10.5
-
source
- 0.10.5 source November 18, 2022 (40 KB)
-
-
0.10.4
-
source
- 0.10.4 source November 17, 2022 (40 KB)
-
-
0.10.1
-
source
- 0.10.1 source August 29, 2022 (39.5 KB)
-
-
0.10
-
source
- 0.10 source August 29, 2022 (39.5 KB)
-
-
0.9
-
source
- 0.9 source July 29, 2019 (38 KB)
-