This commit is contained in:
@@ -162,7 +162,7 @@ public class JsonByteBufferReader extends JsonReader {
|
|||||||
public final boolean hasNext() {
|
public final boolean hasNext() {
|
||||||
char ch = nextGoodChar();
|
char ch = nextGoodChar();
|
||||||
if (ch == ',') return true;
|
if (ch == ',') return true;
|
||||||
if (ch == '}' || ch == ']') return false;
|
if (ch == '}' || ch == ']' || ch == 0) return false;
|
||||||
backChar(ch); // { [ 交由 readObjectB 或 readMapB 或 readArrayB 读取
|
backChar(ch); // { [ 交由 readObjectB 或 readMapB 或 readArrayB 读取
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user