Bug Tracker

Changes between Version 1 and Version 2 of Ticket #7572, comment 1


Ignore:
Timestamp:
Nov 19, 2010, 9:46:22 AM (10 years ago)
Author:
jitter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7572, comment 1

    v1 v2  
    1 Thanks for taking the time to contribute to the jQuery project by writing a bug ticket and providing a testcase but this isn't valid JSON. JSON requires you to use double quotes for strings. The use of single quotes isn't a valid option
     1Thanks for taking the time to contribute to the jQuery project by writing a bug ticket and providing a testcase!
     2
     3This isn't valid JSON so there is no bug. JSON requires you to use double quotes for strings. The use of single quotes isn't a valid option.
    24
    35Please check http://www.json.org/.
     
    57
    68I assume this happened because you are hand-crafting your JSON strings. Don't do that. Code for generating JSON data is available for a large variety of programming languages. http://www.json.org/ also provides a comprehensive listing of existing JSON libraries, organized by language.
     9
     10The next time please use the [http://forum.jquery.com jQuery Forum] for support requests when you aren't sure there is really a bug in jQuery core.