diff options
Diffstat (limited to 'ext/json/lib/json.rb')
-rw-r--r-- | ext/json/lib/json.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/json/lib/json.rb b/ext/json/lib/json.rb index b5a6912415..947ac630ad 100644 --- a/ext/json/lib/json.rb +++ b/ext/json/lib/json.rb @@ -44,14 +44,6 @@ require 'json/common' # require 'json' # puts {:hello => "goodbye"}.to_json => "{\"hello\":\"goodbye\"}" # -# <tt>JSON.generate</tt> only allows objects or arrays to be converted -# to JSON syntax. <tt>to_json</tt>, however, accepts many Ruby classes -# even though it acts only as a method for serialization: -# -# require 'json' -# -# 1.to_json => "1" -# module JSON require 'json/version' |