We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc5cdb5 commit e3b3599Copy full SHA for e3b3599
src/lib_json/json_reader.cpp
@@ -910,6 +910,7 @@ OurFeatures::OurFeatures()
910
, allowSingleQuotes_(false)
911
, failIfExtra_(false)
912
, allowSpecialFloats_(false)
913
+ , stackLimit_(1000)
914
{
915
}
916
@@ -1979,6 +1980,7 @@ void CharReaderBuilder::strictMode(Json::Value* settings)
1979
1980
(*settings)["allowDroppedNullPlaceholders"] = false;
1981
(*settings)["allowNumericKeys"] = false;
1982
(*settings)["allowSingleQuotes"] = false;
1983
+ (*settings)["stackLimit"] = 1000;
1984
(*settings)["failIfExtra"] = true;
1985
(*settings)["rejectDupKeys"] = true;
1986
(*settings)["allowSpecialFloats"] = false;
0 commit comments