Module: GMO::JSON

Defined in:
lib/gmo/json.rb

Class Method Summary collapse

Class Method Details

.dump(*args) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/gmo/json.rb', line 5

def self.dump(*args)
  if MultiJson.respond_to?(:dump)
    MultiJson.dump(*args)
  else
    MultiJson.encode(*args)
  end
end