In Files

  • json/lib/json/common.rb

Parent

Class

Public Instance Methods

json_creatable?() click to toggle source

Returns true, if this class can be used to create an instance from a serialised JSON string. The class has to implement a class method json_create that expects a hash as first parameter, which includes the required data.

 
               # File json/lib/json/common.rb, line 394
def json_creatable?
  respond_to?(:json_create)
end