Home | History | Annotate | Download | only in lib_json

Lines Matching refs:decoded

499   Value decoded;
500 if (!decodeNumber(token, decoded))
502 currentValue() = decoded;
508 bool Reader::decodeNumber(Token& token, Value& decoded) {
515 return decodeDouble(token, decoded);
542 return decodeDouble(token, decoded);
548 decoded = -Value::LargestInt(value);
550 decoded = Value::LargestInt(value);
552 decoded = value;
557 Value decoded;
558 if (!decodeDouble(token, decoded))
560 currentValue() = decoded;
566 bool Reader::decodeDouble(Token& token, Value& decoded) {
598 decoded = value;
603 std::string decoded;
604 if (!decodeString(token, decoded))
606 currentValue() = decoded;
612 bool Reader::decodeString(Token& token, std::string& decoded) {
613 decoded.reserve(token.end_ - token.start_ - 2);
626 decoded += '"';
629 decoded += '/';
632 decoded += '\\';
635 decoded += '\b';
638 decoded += '\f';
641 decoded += '\n';
644 decoded += '\r';
647 decoded += '\t';
653 decoded += codePointToUTF8(unicode);
659 decoded += c;