Transforming JSON responses to Ruby objects with OpenStruct Discussion
Hey Chris, have you considered simplifying this by using ``` JSON.parse('{"color": {"name": "red"}}', object_class: OpenStruct) ``` It seems to do what you are after :-)
Jens Dahl Møllerhøj replied