json parse again I'm afraid

json parse again I'm afraid

nikiniki Posts: 2Questions: 1Answers: 0

I am also getting the json parse error for datatables 1.10.

Checked the data using http://jsonlint.com and it validates fine.

In desperation I tried some of the datatables.net ajax samples, they all give the same error.

So I'm not sure what to do now.

I have a debug for my test table, though I think the samples are things to fix first.
http://debug.datatables.net/uwibet

thanx for your time

Answers

  • allanallan Posts: 55,097Questions: 1Answers: 8,649 Site admin

    Return from the server:

    {
        "data": [
            ["Tiger Nixon", "System Architect", "Edinburgh", "5421", "2011/04/25", "$320,800"],
            ["Garrett Winters", "Accountant", "Tokyo", "8422", "2011/07/25", "$170,750"]
        }
    

    Not valid JSON as the data array is not closed. That does not pass in jsonlint.com.

    Allan

  • nikiniki Posts: 2Questions: 1Answers: 0

    Apologies, you're right ofcourse ... if only I'd slept on it ... routing error.
    thanx for your time.

This discussion has been closed.