(CharArr arr)
| 761 | } |
| 762 | |
| 763 | private void readStringBare(CharArr arr) throws IOException { |
| 764 | if (arr != out) { |
| 765 | arr.append(out); |
| 766 | } |
| 767 | |
| 768 | for (; ; ) { |
| 769 | int ch = getChar(); |
| 770 | if (!isUnquotedStringChar(ch)) { |
| 771 | if (ch == -1) break; |
| 772 | if (ch == '\\') { |
| 773 | arr.write(readEscapedChar()); |
| 774 | continue; |
| 775 | } |
| 776 | start--; |
| 777 | break; |
| 778 | } |
| 779 | |
| 780 | if (ch == '\\') { |
| 781 | arr.write(readEscapedChar()); |
| 782 | continue; |
| 783 | } |
| 784 | |
| 785 | arr.write(ch); |
| 786 | } |
| 787 | } |
| 788 | |
| 789 | // isName==true if this is a field name (as opposed to a value) |
| 790 | protected void handleNonDoubleQuoteString(int ch, boolean isName) throws IOException { |
no test coverage detected