Module: Nimbu::Utils::Json
- Extended by:
- Json
- Included in:
- Error::ServiceError, Response::Json, Json
- Defined in:
- lib/nimbu-api/utils/json.rb
Instance Method Summary collapse
Instance Method Details
#decode(*args) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/nimbu-api/utils/json.rb', line 10 def decode(*args) if MultiJson.respond_to?(:load) MultiJson.load(*args) else MultiJson.decode(*args) end end |