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