End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
JSON.create_id
create_id
ext/json/lib/json/common.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/ext/json/lib/json/common.rb, line 126
def self.create_id
Thread.current[CREATE_ID_TLS_KEY] || DEFAULT_CREATE_ID
end
Returns the current create identifier. See also JSON.create_id=.
See also
.create_id=
.create_fast_state
.[]
.create_pretty_state
also in
4.0 · 3.4 · 3.3 · 3.1 · 3.0