MCPcopy Index your code
hub / github.com/Kitware/CMake / deserialize

Method deserialize

Utilities/cmcppdap/src/jsoncpp_json_serializer.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38bool JsonCppDeserializer::deserialize(dap::boolean* v) const {
39 if (!json->isBool()) {
40 return false;
41 }
42 *v = json->asBool();
43 return true;
44}
45
46bool JsonCppDeserializer::deserialize(dap::integer* v) const {
47 if (!json->isInt64()) {

Callers

nothing calls this directly

Calls 15

booleanClass · 0.85
numberClass · 0.85
integerClass · 0.85
isBoolMethod · 0.80
asBoolMethod · 0.80
isInt64Method · 0.80
asInt64Method · 0.80
isNumericMethod · 0.80
asDoubleMethod · 0.80
isStringMethod · 0.80
asStringMethod · 0.80
reserveMethod · 0.80

Tested by

no test coverage detected