Method: JSON.create_id
- Defined in:
- lib/json/common.rb
.create_id ⇒ Object
Returns the current create identifier. See also JSON.create_id=.
234 235 236 |
# File 'lib/json/common.rb', line 234 def self.create_id Thread.current[:"JSON.create_id"] || 'json_class' end |