Registry / serialization / json-mapper

json-mapper

JSON →
library0.2.1rbrubygemsunverified

Ruby gem for mapping JSON data structures to Ruby classes

gem install json_mapper
INSTALL
IMPORT
SIG · JSON-MAPPER
J
json-mapper
serializationrubyv0.2.1
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.

JsonMapper
require 'json_mapper'

Map JSON to a Ruby class

require 'json_mapper' class User include JsonMapper json_attr :name, :email end user = User.from_json('{"name":"Alice","email":"alice@example.com"}') puts user.name
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

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