Registry / serialization / shale
library1.2.2rbrubygemsunverified

Ruby object mapper and serializer for XML, JSON, TOML, CSV and YAML.

gem install shale
INSTALL
IMPORT
SIG · SHALE
S
shale
serializationrubyv1.2.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.

Shale
require 'shale'

Mapping JSON to a Ruby object and serializing to XML

require 'shale' class Person < Shale::Mapper attribute :name, Shale::Type::String attribute :age, Shale::Type::Integer end json = '{"name":"John","age":30}' person = Person.from_json(json) puts person.name puts person.to_xml
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
shale — gem install shale · libregistry