diff --git a/lib/json.rb b/lib/json.rb index b5a69124..947ac630 100644 --- a/lib/json.rb +++ b/lib/json.rb @@ -44,14 +44,6 @@ # require 'json' # puts {:hello => "goodbye"}.to_json => "{\"hello\":\"goodbye\"}" # -# JSON.generate only allows objects or arrays to be converted -# to JSON syntax. to_json, 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'