From 0d53943b3aea2f0730a185d8f5f7ca37218fc167 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Tue, 17 Nov 2026 15:01:54 -0600 Subject: [PATCH] [DOC] Fix headings --- lib/json.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/json.rb b/lib/json.rb index 1969b026d..6cda7d187 100644 --- a/lib/json.rb +++ b/lib/json.rb @@ -118,7 +118,7 @@ # # ==== Parsing Options # -# ====== Input Options +# ===== Input Options # # Option +max_nesting+ (\Integer) specifies the maximum nesting depth allowed; # defaults to +100+; @@ -214,7 +214,7 @@ # When enabled: # JSON.parse('"Hell\o"', allow_invalid_escape: true) # => "Hello" # -# ====== Output Options +# ===== Output Options # # Option +freeze+ (boolean) specifies whether the returned objects will be frozen; # defaults to +false+. @@ -323,7 +323,7 @@ # # ==== Generating Options # -# ====== Input Options +# ===== Input Options # # Option +allow_nan+ (boolean) specifies whether # +NaN+, +Infinity+, and +-Infinity+ may be generated; @@ -378,7 +378,7 @@ # which may leave the process in an unrecoverable state. # It is highly discouraged. # -# ====== Escaping Options +# ===== Escaping Options # # Options +script_safe+ (boolean) specifies wether '\u2028', '\u2029' # and '/' should be escaped as to make the JSON object safe to interpolate in script @@ -387,7 +387,7 @@ # Options +ascii_only+ (boolean) specifies wether all characters outside the ASCII range # should be escaped. # -# ====== Output Options +# ===== Output Options # # The default formatting options generate the most compact # \JSON data, all on one line and with no whitespace.