Registry / serialization / structure-mapper

structure-mapper

JSON →
library0.0.2rbrubygemsunverified

Mapper of data structures (Hash, Array, ...) to Ruby objects.

gem install structure_mapper
INSTALL
IMPORT
SIG · STRUCTURE-MAPPER
S
structure-mapper
serializationrubyv0.0.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.

StructureMapper
✓ require 'structure_mapper'

Map a hash to a Ruby object using StructureMapper.

require 'structure_mapper' class User include StructureMapper map :name, from: 'user_name' end user = User.from_hash({ 'user_name' => 'Alice' }) puts user.name
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
8
Resources
structure-mapper — gem install structure-mapper · libregistry