@Override public void accept(BsonReader reader) { reader.readStartArray(); while (reader.readBsonType() != BsonType.END_OF_DOCUMENT) { BsonSkipper.valueOf(reader.getCurrentBsonType().name()).accept(reader); } reader.readEndArray(); }
public static void skipValue(BsonReader reader) { BsonSkipper.valueOf(reader.getCurrentBsonType().name()).accept(reader); }