Categories: None [Edit]
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: 170,402 of 188,474
Downloads: 2,527
Daily
Ranking: 131,764 of 188,457
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 12 | 1,167,802,321 | json |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | CodeRocketCo |