Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unable to parse json dump #3284
Comments
|
Your command line will not output JSON since the quotes are wrong. If you want the JSON in a file
|
|
Sorry, you're right, i used the command line you mentionned, not the first one, of course. That's sad. The isssue shouldn't be closed. |
|
That file contains valid JSON, two concated documents. Have you run the command with Simply replace We implemented this behavior because it means that you can ask for multiple URLs and get JSON documents while youtube-dl is extracting the information, instead of having to wait for youtube-dl to extract everything. Would it be more convenient for your application to get all of the results as a single JSON document? Note that you still have to use |
|
Thank you for your help, problem solved. |
Hello,
I'm trying to parse a simple JSON dump. No matters what dump i try to parse, the JSON reader gives me an error.
Parsing it with an online json parser, i got this error:
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 2 column 1 of the JSON dataMy final purpose is to parse it with a haskell JSON library.