Interface MappedObject.ContentReader<C>
- Type Parameters:
C
- the content type
- Enclosing class:
MappedObject
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy used to read JSON content.
- Since:
- 2.3.0
- Author:
- Phillip Webb
-
Method Summary
-
Method Details
-
read
com.fasterxml.jackson.databind.JsonNode read(com.fasterxml.jackson.databind.ObjectMapper objectMapper, C content) throws IOException Read JSON content as aJsonNode
.- Parameters:
objectMapper
- the source object mappercontent
- the content to read- Returns:
- a
JsonNode
- Throws:
IOException
- on IO error
-