public DocumentType readDocumentType(DocumentId docId) {
        return getDocumentTypeFromString(docId.getDocType(), typeManager);
    }
Returns the next document operation, or null if we have reached the end
document/src/main/java/com/yahoo/document/json/JsonReader.java