Stuk / jszip

Create, read and edit .zip files with Javascript
https://stuk.github.io/jszip/
Other
9.81k stars 1.3k forks source link

Fix JSON parse #888

Closed melroy89 closed 9 months ago

melroy89 commented 1 year ago

JSON is a data-only format. Comments are not allowed and are invalid in JSON.

hlovdal commented 9 months ago

NAK. Json exists different in variants, and tsconfig.json most certainly is supposed to have those comments.

melroy89 commented 9 months ago

OK, i see. normally it's not allowed in JSON but TypeScript explicitly support comments in this tsconfig file indeed.