-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove BOM characters from JSON file before parsing #20
Comments
thanks, will accept a PR |
mmukarram
pushed a commit
to mmukarram/node-cjson
that referenced
this issue
Jan 13, 2016
mmukarram
pushed a commit
to mmukarram/node-cjson
that referenced
this issue
Jan 13, 2016
mmukarram
pushed a commit
to mmukarram/node-cjson
that referenced
this issue
Jan 13, 2016
mmukarram
added a commit
to mmukarram/node-cjson
that referenced
this issue
Jan 13, 2016
kof
added a commit
that referenced
this issue
Jan 13, 2016
Issue #20: Fix parsing JSON files with BOM characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the most recent version bump from 0.3.1 to 0.3.2, the dependency migration for the parser from
jsonlint
tojson-parse-helpfulerror
breaks when processing JSON files that have Byte-order Mark characters. Since the JSON files are already being loaded with UTF-8 encoding, it would make sense to remove these characters.Planning on modifying the following lines (and tests) and sending a pull request :
The text was updated successfully, but these errors were encountered: