Class: Restify::Processors::JSON
- Inherits:
-
Object
- Object
- Restify::Processors::JSON
- Defined in:
- lib/restify/parser/json.rb
Overview
Decode JSON responses.
Instance Method Summary collapse
Instance Method Details
#format ⇒ Object
11 12 13 |
# File 'lib/restify/parser/json.rb', line 11 def format :json end |
#parse(str) ⇒ Object
7 8 9 |
# File 'lib/restify/parser/json.rb', line 7 def parse(str) MultiJSON.load(str) end |