Opened 13 years ago
Closed 12 years ago
#5931 closed bug (invalid)
jQuery.parseJSON not working with single quotes
Reported by: | rortelli | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4.2 |
Component: | core | Version: | 1.4.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
var json = "{'instrumentType': 'funds', 'instrumentId':'123456', 'positionId':'789', 'quantity':'1000'}"; console.log($.parseJSON(json));
Change History (2)
comment:1 Changed 13 years ago by
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
JSON specification requires double quotes. See json.org.