# File lib/fog/core/json.rb, line 71defself.decode(obj)
Fog::JSON.instance.decode(obj)
end
encode(obj)click to toggle source
Do the MultiJson introspection at this level so we can define our
encode/decode methods and perform the introspection only once rather than
once per call.
# File lib/fog/core/json.rb, line 67defself.encode(obj)
Fog::JSON.instance.encode(obj)
end