[ruby/json] Improve class JSON intro

https://github.com/ruby/json/commit/062fcdd228
This commit is contained in:
BurdetteLamar 2026-01-22 22:08:15 +00:00 committed by git
parent 319f142a3a
commit 51a030833c

View File

@ -6,6 +6,15 @@ require 'json/common'
#
# \JSON is a lightweight data-interchange format.
#
# \JSON is easy for us humans to read and write,
# and equally simple for machines to read (parse) and write (generate).
#
# \JSON is language-independent, making it an ideal interchange format
# for applications in differing programming languages
# and on differing operating systems.
#
# == \JSON Values
#
# A \JSON value is one of the following:
# - Double-quoted text: <tt>"foo"</tt>.
# - Number: +1+, +1.0+, +2.0e2+.