read

abstract fun read(name: String): BsonValueReader?(source)

Attempts to read a field named name.

If such a field exists, an instance of BsonValueReader is returned. If no such a field exists, null is returned.

Note that if a field exists and is null, a instance of BsonValueReader with a type of null is returned.