MCPcopy Create free account
hub / github.com/Snapchat/Valdi / parseInt

Method parseInt

valdi_core/src/valdi_core/cpp/Utils/JSONReader.cpp:312–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312bool JSONReader::parseInt(int32_t& output) {
313 if (!_parser.parseInt(output)) {
314 return false;
315 }
316 _parser.tryParseWhitespaces();
317 return true;
318}
319
320bool JSONReader::parseUInt(uint32_t& output) {
321 if (!_parser.parseUInt(output)) {

Callers

nothing calls this directly

Calls 1

tryParseWhitespacesMethod · 0.80

Tested by

no test coverage detected