Class: OSON::Parser
- Inherits:
-
Object
- Object
- OSON::Parser
- Defined in:
- lib/oson.rb
Class Method Summary collapse
Class Method Details
.parse(json) ⇒ Object
6 7 8 9 |
# File 'lib/oson.rb', line 6 def self.parse(json) obj = Openstruct.new JSON.parse(json) obj end |