MCPcopy Create free account
hub / github.com/Kitware/CMake / deserialize

Method deserialize

Utilities/cmcppdap/src/nlohmann_json_serializer.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40bool NlohmannDeserializer::deserialize(dap::boolean* v) const {
41 if (!json->is_boolean()) {
42 return false;
43 }
44 *v = json->get<bool>();
45 return true;
46}
47
48bool NlohmannDeserializer::deserialize(dap::integer* v) const {
49 if (!json->is_number_integer()) {

Callers

nothing calls this directly

Calls 7

booleanClass · 0.85
numberClass · 0.85
integerClass · 0.85
reserveMethod · 0.80
valueMethod · 0.80
keyMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected