raise JSONDecodeError(“Extra data”, s, end, len(s))

raise JSONDecodeError(“Extra data”, s, end, len(s))

JSONDecodeError: Extra data: line 166 column 6 – line 98076 column 7 (char 4355 – 3355182) Extra data: line 166 column 6 – line 98076 column 7 (char 4355 – 3355182)

In my case this error was caused by the absence of array characters (square brackets) i.e. […].  Adding them fixed the parsing error, the file format became [{..},{..},..,{..}]

About Neil Rubens

see http://ActiveIntelligence.org

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*