C - the content type@FunctionalInterface
protected static interface MappedObject.ContentReader<C>
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
read(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
C content)
Read JSON content as a
JsonNode. |
com.fasterxml.jackson.databind.JsonNode read(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
C content)
throws java.io.IOException
JsonNode.objectMapper - the source object mappercontent - the content to readJsonNodejava.io.IOException - on IO error