Closed Yorozuya-san closed 4 years ago
If a single line comment is the last line, then there is no \n to remove the comment. This PR makes sure that this case is handled.
@Yorozuya-san You should switch to JSON5 instead of this library, for much more robust parsing: https://github.com/linjackson78/jstyleson/issues/4
If a single line comment is the last line, then there is no \n to remove the comment. This PR makes sure that this case is handled.