summaryrefslogtreecommitdiff
path: root/ext/json/lib
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 ()
tree385aee2ac01c232ee03cadd3bde579b8b6265f80 /ext/json/lib
parent756b75f2421008a46ee68390c683ca2c1a0ddc31 (diff)
[ruby/json] Remove more dead code
https://.com/ruby/json/commit/eda239ad34
Notes: Merged: https://.com/ruby/ruby/pull/13004
-rw-r--r--ext/json/lib/json/common.rb7
1 files changed, 0 insertions, 7 deletions
@@ -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 })