Class: Class
Instance Method Summary collapse
-
#json_creatable? ⇒ Boolean
Returns true, if this class can be used to create an instance from a serialised JSON string.
Instance Method Details
#json_creatable? ⇒ Boolean
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.
351 352 353 |
# File 'lib/gems/json_pure-1.1.3/lib/json/common.rb', line 351 def json_creatable? respond_to?(:json_create) end |