mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
parent
756b75f242
commit
80a59a6244
Notes:
git
2025-03-28 03:45:12 +00:00
1 changed files with 0 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue