case ROOT_NAME: return JsonStreamToken.NAME;
case ROOT_XMLNS_NAME: return JsonStreamToken.NAME;
case ROOT_XMLNS_VALUE: return JsonStreamToken.VALUE;
case END_DOC: return JsonStreamToken.END_OBJECT;
case DELEGATE:
JsonStreamToken result = super.peek();
if (depth == 1 && result == JsonStreamToken.NONE) {
result = JsonStreamToken.END_OBJECT;
}
return result;
default: