summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurdetteLamar <burdettelamar@yahoo.com>2026-01-22 22:08:15 +0000
committergit <svn-admin@ruby-lang.org>2026-01-22 22:33:20 +0000
commit51a030833c61255ea85e7b75951f873c957e393b (patch)
treed1001389b20ac4437eb91430ce5943f0c1c1d85a
parent319f142a3a95fb896318c3be012c2a3ce19f5a0a (diff)
[ruby/json] Improve class JSON intro
https://github.com/ruby/json/commit/062fcdd228
-rw-r--r--ext/json/lib/json.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/json/lib/json.rb b/ext/json/lib/json.rb
index f619d93252..2f6db44227 100644
--- a/ext/json/lib/json.rb
+++ b/ext/json/lib/json.rb
@@ -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+.