| 2147 | OurCharReader(bool collectComments, OurFeatures const& features) |
| 2148 | : collectComments_(collectComments), reader_(features) {} |
| 2149 | bool parse(char const* beginDoc, |
| 2150 | char const* endDoc, |
| 2151 | Value* root, |
| 2152 | JSONCPP_STRING* errs) JSONCPP_OVERRIDE { |
| 2153 | bool ok = reader_.parse(beginDoc, endDoc, *root, collectComments_); |
| 2154 | if (errs) { |
| 2155 | *errs = reader_.getFormattedErrorMessages(); |
| 2156 | } |
| 2157 | return ok; |
| 2158 | } |
| 2159 | }; |
| 2160 | |
| 2161 | CharReaderBuilder::CharReaderBuilder() { setDefaults(&settings_); } |
nothing calls this directly
no test coverage detected