Class: DataImp::Parser::Json
- Inherits:
-
Stream
- Object
- DataImp::Parser
- Stream
- DataImp::Parser::Json
- Defined in:
- lib/data_imp/parser/json.rb
Instance Attribute Summary
Attributes inherited from DataImp::Parser
Instance Method Summary collapse
Methods inherited from Stream
Methods inherited from DataImp::Parser
find_parser, #initialize, #parse, #process, #process_file
Constructor Details
This class inherits a constructor from DataImp::Parser
Instance Method Details
#process_string(input) ⇒ Object
4 5 6 |
# File 'lib/data_imp/parser/json.rb', line 4 def process_string input JSON.parse(input) end |