'Corrupt' JSON files
Opened this issue · 1 comments
MikeRalphson commented
Just a note that the following JSON files are 'corrupt' and can't be parsed. Looking at one or two of them, they seem to contain more than one root object.
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\Faceplusplus face detection.json
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\Free Natural Language Processing Service.json
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\Random Famous Quotes.json
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\SMSAPI.json
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\Search.json
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\Sentiment Analysis.json
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\Sentiment.json
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\Text Classification.json
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\Text-to-Speech.json
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\Yoda Speak.json
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\msend.json
Could not parse file D:\nodejs\hapi\APIs\generated\mashape\whois.json
Mike
hamzaed commented
Thank you for pointing this out. It seams that the generator was appending already existing files instead of overwriting them.
I'll work on this issue and other known issues in the coming weeks.
Thank you for your feedback!
Hamza