Method: Webclient::Response#json
- Defined in:
- lib/webclient/webclient.rb
#json ⇒ Object
convenience helper; returns parsed json data; note: always assume utf-8 (text) encoding
42 |
# File 'lib/webclient/webclient.rb', line 42 def json() JSON.parse( text ); end |