MCPcopy Create free account
hub / github.com/Illumina/paragraph / setDefaults

Method setDefaults

external/jsoncpp/jsoncpp.cpp:2231–2245  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

2229}
2230// static
2231void CharReaderBuilder::setDefaults(Json::Value* settings)
2232{
2233//! [CharReaderBuilderDefaults]
2234 (*settings)["collectComments"] = true;
2235 (*settings)["allowComments"] = true;
2236 (*settings)["strictRoot"] = false;
2237 (*settings)["allowDroppedNullPlaceholders"] = false;
2238 (*settings)["allowNumericKeys"] = false;
2239 (*settings)["allowSingleQuotes"] = false;
2240 (*settings)["stackLimit"] = 1000;
2241 (*settings)["failIfExtra"] = false;
2242 (*settings)["rejectDupKeys"] = false;
2243 (*settings)["allowSpecialFloats"] = false;
2244//! [CharReaderBuilderDefaults]
2245}
2246
2247//////////////////////////////////
2248// global functions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected