Parent

Methods

EventMachine::Middleware::JSONResponse

Public Instance Methods

response(resp) click to toggle source
# File lib/em-http/middleware/json_response.rb, line 6
def response(resp)
  begin
    body = Yajl::Parser.parse(resp.response)
    resp.response = body
  rescue Exception => e
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.