method

json_create

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Object
json_create(object) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/json/lib/json/add/rails.rb, line 10
  def self.json_create(object)
    obj = new
    for key, value in object
      next if key == JSON.create_id
      instance_variable_set "@#{key}", value
    end
    obj
  end
Register or log in to add new notes.