summaryrefslogtreecommitdiff
path: root/lib/json.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2011-07-08 17:25:17 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2011-07-08 17:25:17 +0900
commit24f84d63beef15eafd2e59df3d809f1928774d00 (patch)
treed6f214810ad4799af45b8b780ad13c076d80995d /lib/json.rb
parent10c6bfba2f03577ad3a5b7b1abff31a35378f45e (diff)
downloadjson-24f84d63beef15eafd2e59df3d809f1928774d00.tar.gz
remove trailing spaces.
Diffstat (limited to 'lib/json.rb')
-rw-r--r--lib/json.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/json.rb b/lib/json.rb
index cc33f72..d7bc1a2 100644
--- a/lib/json.rb
+++ b/lib/json.rb
@@ -15,7 +15,7 @@
#
# To parse a JSON string received by another application, or generated within
# your existing application:
-#
+#
# require 'json'
#
# my_hash = JSON.parse('{"hello": "goodbye"}')
@@ -32,7 +32,7 @@
# just as simple.
#
# require 'json'
-#
+#
# my_hash = {:hello => "goodbye"}
# puts JSON.generate(my_hash) => "{\"hello\":\"goodbye\"}"
#
@@ -41,8 +41,8 @@
# require 'json'
# puts {:hello => "goodbye"}.to_json => "{\"hello\":\"goodbye\"}"
#
-# <tt>JSON.generate</tt> only allows objects or arrays to be converted
-# to JSON syntax. While <tt>to_json</tt> accepts many Ruby classes
+# <tt>JSON.generate</tt> only allows objects or arrays to be converted
+# to JSON syntax. While <tt>to_json</tt> accepts many Ruby classes
# even though it only acts a method for serialization:
#
# require 'json'