-
Notifications
You must be signed in to change notification settings - Fork 265
Open
Description
When parsing a JSON file with BOM such as:
JSON.sh gives the following error:
EXPECTED EOF GOT {
Current workaround is to strip these characters using tool like awk: awk 'NR==1{sub(/^\xef\xbb\xbf/,"")}1' "$json_file" | sh JSON.sh | ....
.
It would be nice if parser skip these BOM characters and start parsing after the offset. It will save consumers from stripping these characters.
Metadata
Metadata
Assignees
Labels
No labels