[ruby/json] Remove more dead code
https://github.com/ruby/json/commit/eda239ad34
This commit is contained in:
parent
756b75f242
commit
80a59a6244
Notes:
git
2025-03-28 03:45:12 +00:00
@ -161,13 +161,6 @@ module JSON
|
|||||||
end
|
end
|
||||||
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 of JSON document that is to be included as is:
|
||||||
# fragment = JSON::Fragment.new("[1, 2, 3]")
|
# fragment = JSON::Fragment.new("[1, 2, 3]")
|
||||||
# JSON.generate({ count: 3, items: fragments })
|
# JSON.generate({ count: 3, items: fragments })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user