summaryrefslogtreecommitdiff
path: root/ext/json
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-03-27 10:36:31 +0100
committerHiroshi SHIBATA <[email protected]>2025-03-28 12:44:53 +0900
commit96ecac1e245aaac4484f69a731d2af4328760a8e (patch)
tree2725c7635240f821a6f98cea0ed2d8446dc8dc3e /ext/json
parentbba30bee6275601e14cde260e3a3c9545cebe6b7 (diff)
[ruby/json] Get rid of JSON::NOT_SET
https://github.com/ruby/json/commit/760d922265
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13004
Diffstat (limited to 'ext/json')
-rw-r--r--ext/json/lib/json/common.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb
index 24f124baaf..30fdbe1db2 100644
--- a/ext/json/lib/json/common.rb
+++ b/ext/json/lib/json/common.rb
@@ -5,9 +5,6 @@ require 'json/version'
module JSON
autoload :GenericObject, 'json/generic_object'
- NOT_SET = Object.new.freeze
- private_constant :NOT_SET
-
class << self
# :call-seq:
# JSON[object] -> new_array or new_string