Skip to content

Commit 0260518

Browse files
committed
Document skipBom in CharReaderBuilder
1 parent c39fbda commit 0260518

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/json/reader.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ 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), it is skipped.
327329
*
328330
* You can examine 'settings_` yourself to see the defaults. You can also
329331
* write and read them just like any JSON Value.

0 commit comments

Comments
 (0)