use of com.fasterxml.jackson.core.json.UTF8DataInputJsonParser in project jackson-core by FasterXML.
the class TrailingCommasTest method assertEnd.
private void assertEnd(JsonParser p) throws IOException {
// Issue #325
if (!(p instanceof UTF8DataInputJsonParser)) {
JsonToken next = p.nextToken();
assertNull("expected end of stream but found " + next, next);
}
}
Aggregations