method

json_create

Importance_0
v1_9_1_378 - Show latest stable - 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_class'
      instance_variable_set "@#{key}", value
    end
    obj
  end
Register or log in to add new notes.