()
| 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 { |
no test coverage detected