MCPcopy Index your code
hub / github.com/google/gson / objectValue

Method objectValue

src/main/java/com/google/gson/stream/JsonReader.java:763–783  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

761 }
762
763 private JsonToken objectValue() throws IOException {
764 /*
765 * Read the name/value separator. Usually a colon ':'. In lenient mode
766 * we also accept an equals sign '=', or an arrow "=>".
767 */
768 switch (nextNonWhitespace()) {
769 case ':':
770 break;
771 case '=':
772 checkLenient();
773 if ((pos < limit || fillBuffer(1)) && buffer[pos] == '>') {
774 pos++;
775 }
776 break;
777 default:
778 throw syntaxError("Expected ':'");
779 }
780
781 replaceTop(JsonScope.NONEMPTY_OBJECT);
782 return nextValue();
783 }
784
785 @SuppressWarnings("fallthrough")
786 private JsonToken nextValue() throws IOException {

Callers 1

quickPeekMethod · 0.95

Calls 6

nextNonWhitespaceMethod · 0.95
checkLenientMethod · 0.95
fillBufferMethod · 0.95
syntaxErrorMethod · 0.95
replaceTopMethod · 0.95
nextValueMethod · 0.95

Tested by

no test coverage detected