I have this JSON (which validates according to JSONLint):
[
{
"BugCount":"2",
"BugTitle":"C:\\INETPUB\\WWWROOT\\CLUBREADY2\\TRAINERS\\../Connections/LTC.asp",
"ErrLine":"141",
"BugID":"702"
},
{
"BugCount":"1",
"BugTitle":"/admin/ajax_logagreementsig.asp",
"ErrLine":"0",
"BugID":"1322"
},
]
However, when I run data = json.evalJSON
on it I get some problems.
If I run .evalJSON(true) (to sanitize) an error happens within prototype saying "json" is undefined. The same happens if I do .evalJSON().
If I do .evalJSON with no parenthesis, then data is just an empty object and no error happens.
Is there something wrong with my JSON?