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

Method parseDouble

valdi_core/src/valdi_core/cpp/Utils/JSONReader.cpp:328–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328bool JSONReader::parseDouble(double& output) {
329 if (!_parser.parseDouble(output)) {
330 return false;
331 }
332 _parser.tryParseWhitespaces();
333 return true;
334}
335
336bool JSONReader::parseBool(bool& output) {
337 if (tryParseToken("true")) {

Callers

nothing calls this directly

Calls 1

tryParseWhitespacesMethod · 0.80

Tested by

no test coverage detected