Method: Hanami::Utils::Json::MultiJsonAdapter#generate

Defined in:
lib/hanami/utils/json.rb

#generate(object) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.9.1



31
32
33
# File 'lib/hanami/utils/json.rb', line 31

def generate(object)
  MultiJson.dump(object)
end