[ruby/json] Remove more dead code

https://github.com/ruby/json/commit/eda239ad34
This commit is contained in:
Jean Boussier 2025-03-27 11:01:45 +01:00 committed by Hiroshi SHIBATA
parent 756b75f242
commit 80a59a6244
Notes: git 2025-03-28 03:45:12 +00:00

View File

@ -161,13 +161,6 @@ module JSON
end
end
# For backwards compatibility
UnparserError = GeneratorError # :nodoc:
# This exception is raised if the required unicode support is missing on the
# system. Usually this means that the iconv library is not installed.
class MissingUnicodeSupport < JSONError; end
# Fragment of JSON document that is to be included as is:
# fragment = JSON::Fragment.new("[1, 2, 3]")
# JSON.generate({ count: 3, items: fragments })