Ignore a UTF-8 BOM if one appears at the start of a JSON document.

Closes #45.
This commit is contained in:
Stephen Dolan committed 2012-12-02 23:53:55 +00:00
1 parent 5b45184a1a
commit 67f8ad9435
3 files changed
+28

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ struct jv_parser {
int curr_buf_length;
int curr_buf_pos;
int curr_buf_is_partial;
unsigned bom_strip_position;
jv* stack;
int stackpos;