module JSON

def self.create_id=(new_value)

JSON.create_id # => 'json_class'
hook of a class should be called; initial value is +json_class+:
Sets create identifier, which is used to decide if the _json_create_
def self.create_id=(new_value)
  Thread.current[:"JSON.create_id"] = new_value.dup.freeze
end