T - the result typing.public interface SafeExecution<T>
| Modifier and Type | Method and Description |
|---|---|
T |
apply(com.fasterxml.jackson.databind.ObjectMapper mapper)
Executes the custom logic on a provided ObjectMapper and
returns the defined custom type as a result.
|
T apply(com.fasterxml.jackson.databind.ObjectMapper mapper) throws Exception
mapper - an ObjectMapper instance to use in scope.IOException - if an error occurs in the Jackson operation.ExceptionCopyright © 2017. All rights reserved.