Registry / serialization / ruby-json

ruby-json

JSON →
library1.1.2rbrubygemsunverified

A library to serialize and deserialize Ruby objects to and from their JSON representation.

gem install ruby-json
INSTALL
IMPORT
SIG · RUBY-JSON
R
ruby-json
serializationrubyv1.1.2
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.

RubyJSON
require 'ruby-json'

Serialize a Ruby hash to JSON and parse it back

require 'ruby-json' data = { name: 'Alice', age: 30 } json = RubyJSON.dump(data) puts json parsed = RubyJSON.load(json) puts parsed['name']
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
ruby-json — gem install ruby-json · libregistry