Categories: None [Edit]

json_to_openstruct

https://rubygems.org/gems/json_to_openstruct
https://github.com/CodeRocketCo/json_to_openstruct
A simple Ruby gem adding OpenStruct::parse_json and OpenStruct::parse_hash methods and reverse OpenStruct#to_hash and OpenStruct#to_json methods to (obviously) OpenStruct. It is able to parse and reconstruct nested json and hash objects as well. There is also a OpenStruct#join method adding possibility to replace values in the hash tree with the values passed as a hash in parameter (supporting accepts_nested_attributes_for format) and return it as a new hash.

Total

Ranking: 165,757 of 180,404
Downloads: 2,186

Daily

Ranking: 102,511 of 180,385
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
17806,503,044json

Owners

#GravatarHandle
1iconCodeRocketCo