Method: JSON.create_id

Defined in:
lib/json/common.rb

.create_idObject

Returns the current create identifier. See also JSON.create_id=.



129
130
131
# File 'lib/json/common.rb', line 129

def self.create_id
  Thread.current[CREATE_ID_TLS_KEY] || DEFAULT_CREATE_ID
end