Lines Matching defs:JSON
4 # = JavaScript Object Notation (JSON)
6 # JSON is a lightweight data-interchange format. It is easy for us
8 # JSON is completely language agnostic, making it the ideal interchange format.
14 # To read more about JSON visit: http://json.org
16 # == Parsing JSON
18 # To parse a JSON string received by another application or generated within
23 # my_hash = JSON.parse('{"hello": "goodbye"}')
31 # == Generating JSON
33 # Creating a JSON string for communication or serialization is
39 # puts JSON.generate(my_hash) => "{\"hello\":\"goodbye\"}"
46 # <tt>JSON.generate</tt> only allows objects or arrays to be converted
47 # to JSON syntax. <tt>to_json</tt>, however, accepts many Ruby classes
54 module JSON