Interface JacksonCompat.ObjectMapperAccessor
- Enclosing class:
- JacksonCompat
public static interface JacksonCompat.ObjectMapperAccessor
Accessor for
ObjectMapper
that provides methods to serialize and
deserialize JSON.-
Method Summary
Modifier and TypeMethodDescriptioncreate()
<I> I
deserialize
(Object json, Class<I> type) Deserialize aJsonNode
to the requestedtype
.from
(VaultOperations vaultOperations) writeValueAsString
(Object object)
-
Method Details
-
create
-
from
-
deserialize
Deserialize aJsonNode
to the requestedtype
.- Parameters:
json
- must not be null.type
- must not be null.- Returns:
- the deserialized object.
-
writeValueAsString
-