mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-28 20:15:24 +08:00
Add default value of stackLimit couple of places
stackLimit default value is missing at two places.Adding them.
This commit is contained in:
parent
cc5cdb565c
commit
e3b35992f8
@ -910,6 +910,7 @@ OurFeatures::OurFeatures()
|
||||
, allowSingleQuotes_(false)
|
||||
, failIfExtra_(false)
|
||||
, allowSpecialFloats_(false)
|
||||
, stackLimit_(1000)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1979,6 +1980,7 @@ void CharReaderBuilder::strictMode(Json::Value* settings)
|
||||
(*settings)["allowDroppedNullPlaceholders"] = false;
|
||||
(*settings)["allowNumericKeys"] = false;
|
||||
(*settings)["allowSingleQuotes"] = false;
|
||||
(*settings)["stackLimit"] = 1000;
|
||||
(*settings)["failIfExtra"] = true;
|
||||
(*settings)["rejectDupKeys"] = true;
|
||||
(*settings)["allowSpecialFloats"] = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user