接口 MappedObject.ContentReader<C>
- 类型参数:
C
- the content type
- 封闭类:
MappedObject
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Strategy used to read JSON content.
-
方法概要
-
方法详细资料
-
read
com.fasterxml.jackson.databind.JsonNode read(com.fasterxml.jackson.databind.ObjectMapper objectMapper, C content) throws IOException Read JSON content as aJsonNode
.- 参数:
objectMapper
- the source object mappercontent
- the content to read- 返回:
- a
JsonNode
- 抛出:
IOException
- on IO error
-