Registry / serialization / neatjson

neatjson

JSON →
library0.10.5rbrubygemsunverified

Generate JSON strings from Ruby objects with flexible formatting options, including single-line arrays/objects, float precision, key sorting, and whitespace control.

gem install neatjson
INSTALL
IMPORT
SIG · NEATJSON
N
neatjson
serializationrubyv0.10.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NeatJSON
require 'neatjson'

Generate a formatted JSON string with sorted keys and padding.

require 'neatjson' puts NeatJSON::JSON.generate([1, 2, {a: 1, b: 2}], {sort: true, padding: 1})
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.10.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
neatjson — gem install neatjson · libregistry