Skip to content

Commit 94a6220

Browse files
authored
Document skipBom in CharReaderBuilder (#1332)
1 parent c39fbda commit 94a6220

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/json/reader.h

+3
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,9 @@ class JSON_API CharReaderBuilder : public CharReader::Factory {
324324
* - `"allowSpecialFloats": false or true`
325325
* - If true, special float values (NaNs and infinities) are allowed and
326326
* their values are lossfree restorable.
327+
* - `"skipBom": false or true`
328+
* - If true, if the input starts with the Unicode byte order mark (BOM),
329+
* it is skipped.
327330
*
328331
* You can examine 'settings_` yourself to see the defaults. You can also
329332
* write and read them just like any JSON Value.

0 commit comments

Comments
 (0)