Tiit Papp
Tiit Papp

Reputation: 29

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 44498 of the JSON data

There are many similar issues addressed in this forum. But I couldn't get smarter about my problem. I will describe briefly.

I have developed a nestedSortable QCubed platform. Everything is fine, but one thing remained unresolved. Sorting and deleting are fine. Adding a new entry FOR THE FIRST TIME strikes: "SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 44498 of the JSON data".

Creating the following entries will not cause any problems.

enter image description here

I checked with Debugger and found the place that throws the error:

// Opera 10-11 does not throw on post-comma invalid pseudos
     div.querySelectorAll ("* ,: x");
     rbuggyQSA.push (",. *:");``

I tried both versions: jquery-1.12.4.js or jquery-3.2.1.js. There are no differences.

I also checked json via https://jsonlint.com/, then the json output is validated.

I am grateful if someone can draw my attention or suggest what I should look for and do.

Upvotes: 1

Views: 2963

Answers (0)

Related Questions