Skip to content

Commit

Permalink
Document skipBom in CharReaderBuilder (open-source-parsers#1332)
Browse files Browse the repository at this point in the history
  • Loading branch information
axic authored Sep 21, 2021
1 parent c39fbda commit 94a6220
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/json/reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@ class JSON_API CharReaderBuilder : public CharReader::Factory {
* - `"allowSpecialFloats": false or true`
* - If true, special float values (NaNs and infinities) are allowed and
* their values are lossfree restorable.
* - `"skipBom": false or true`
* - If true, if the input starts with the Unicode byte order mark (BOM),
* it is skipped.
*
* You can examine 'settings_` yourself to see the defaults. You can also
* write and read them just like any JSON Value.
Expand Down

0 comments on commit 94a6220

Please sign in to comment.