stripJsonComments
Signatures
stripJsonComments(text: string, replaceCh: string): string
Takes JSON with JavaScript-style comments and remove them. Optionally replaces every none-newline character of comments with a replaceCharacter
Parameters
- text:
string
- replaceCh:
string