use of io.crnk.client.internal.ClientDocumentMapper in project crnk-framework by crnk-project.
the class OperationsCall method fromResource.
protected <T> T fromResource(Document document, Class<T> clazz) {
CrnkClient crnk = client.getCrnk();
ClientDocumentMapper documentMapper = crnk.getDocumentMapper();
return (T) documentMapper.fromDocument(document, false);
}
Aggregations