From 51a030833c61255ea85e7b75951f873c957e393b Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Thu, 22 Jan 2026 22:08:15 +0000 Subject: [PATCH] [ruby/json] Improve class JSON intro https://github.com/ruby/json/commit/062fcdd228 --- ext/json/lib/json.rb | 9 +++++++++ 1 file changed, 9 insertions(+) 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: "foo". # - Number: +1+, +1.0+, +2.0e2+.