summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-03-27 11:01:45 +0100
committerHiroshi SHIBATA <[email protected]>2025-03-28 12:44:53 +0900
commit80a59a62441c0938d0a29fcd5dd95f8024db6ddf (patch)
tree385aee2ac01c232ee03cadd3bde579b8b6265f80 /ext
parent756b75f2421008a46ee68390c683ca2c1a0ddc31 (diff)
[ruby/json] Remove more dead code
https://github.com/ruby/json/commit/eda239ad34
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13004
Diffstat (limited to 'ext')
-rw-r--r--ext/json/lib/json/common.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb
index c47152e383..9e9d6fb3ef 100644
--- a/ext/json/lib/json/common.rb
+++ b/ext/json/lib/json/common.rb
@@ -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 })