How can i parse the following json string without the opening and closing quotes? Its seems like javascript JSON.parse function is parsing the string with the quotes! hence throws a syntax error.
This is my string;
"[
    {
        "pk": 1,
        "model": "pms.category",
        "fields": {
            "name": "Rent",
            "add_date": "2011-07-28 01:33:21",
            "agent": 3,
            "category_type": "I",
            "add_user": 3,
            "desc": "Rent"
        }
    },
    {
        "pk": 2,
        "model": "pms.category",
        "fields": {
            "name": "Deposit Rent",
            "add_date": "2011-07-28 01:33:21",
            "agent": 3,
            "category_type": "I",
            "add_user": 3,
            "desc": "Rent Deposit"
        }
    }
]"
Edit: Something interesting is that when i run this string of my development machine, it is parsed correctly, but on the production server it fails.
 
     
     
    