MCPcopy Create free account
hub / github.com/ValveSoftware/Proton / getValidWriterKeys

Function getValidWriterKeys

vrclient_x64/jsoncpp.cpp:5198–5207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5196 colonSymbol, nullSymbol, endingLineFeedSymbol, usf, pre);
5197}
5198static void getValidWriterKeys(std::set<std::string>* valid_keys)
5199{
5200 valid_keys->clear();
5201 valid_keys->insert("indentation");
5202 valid_keys->insert("commentStyle");
5203 valid_keys->insert("enableYAMLCompatibility");
5204 valid_keys->insert("dropNullPlaceholders");
5205 valid_keys->insert("useSpecialFloats");
5206 valid_keys->insert("precision");
5207}
5208bool StreamWriterBuilder::validate(Json::Value* invalid) const
5209{
5210 Json::Value my_invalid;

Callers 1

validateMethod · 0.85

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected