MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / decodeNumber

Method decodeNumber

Source/JSON/jsoncpp.cpp:685–691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683}
684
685bool Reader::decodeNumber(Token& token) {
686 Value decoded;
687 if (!decodeNumber(token, decoded))
688 return false;
689 currentValue().swapPayload(decoded);
690 return true;
691}
692
693bool Reader::decodeNumber(Token& token, Value& decoded) {
694 // Attempts to parse the number as an integer. If the number is

Callers

nothing calls this directly

Calls 1

swapPayloadMethod · 0.45

Tested by

no test coverage detected