diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb index 800056c49c..af130dc006 100644 --- a/ext/json/lib/json/common.rb +++ b/ext/json/lib/json/common.rb @@ -357,13 +357,6 @@ module JSON end end - # :stopdoc: - # I want to deprecate these later, so I'll first be silent about them, and - # later delete them. - alias unparse generate - module_function :unparse - # :startdoc: - # :call-seq: # JSON.fast_generate(obj, opts) -> new_string # @@ -386,12 +379,6 @@ module JSON state.generate(obj) end - # :stopdoc: - # I want to deprecate these later, so I'll first be silent about them, and later delete them. - alias fast_unparse fast_generate - module_function :fast_unparse - # :startdoc: - # :call-seq: # JSON.pretty_generate(obj, opts = nil) -> new_string # @@ -441,12 +428,6 @@ module JSON state.generate(obj) end - # :stopdoc: - # I want to deprecate these later, so I'll first be silent about them, and later delete them. - alias pretty_unparse pretty_generate - module_function :pretty_unparse - # :startdoc: - # Sets or returns default options for the JSON.unsafe_load method. # Initially: # opts = JSON.load_default_options @@ -799,9 +780,6 @@ module JSON end end - alias restore load - module_function :restore - # Sets or returns the default options for the JSON.dump method. # Initially: # opts = JSON.dump_default_options