Package | Description |
---|---|
ratpack.jackson.guice |
Integration with the Jackson JSON marshalling library via Guice.
|
Modifier and Type | Method and Description |
---|---|
JacksonModule.Config |
JacksonModule.Config.modules(Iterable<Module> modules)
Add the given modules to the modules to be registered with the created object mapper.
|
JacksonModule.Config |
JacksonModule.Config.modules(Module... modules)
Add the given modules to the modules to be registered with the created object mapper.
|
JacksonModule.Config |
JacksonModule.Config.prettyPrint(boolean prettyPrint)
Sets whether JSON should be pretty printed.
|
JacksonModule.Config |
JacksonModule.Config.withMapper(Consumer<? super ObjectMapper> configurer)
Adds configuration actions to be executed against the object mapper created by this Guice module before it is used.
|
Modifier and Type | Method and Description |
---|---|
protected ObjectMapper |
JacksonModule.objectMapper(JacksonModule.Config config) |
protected ObjectWriter |
JacksonModule.objectWriter(ObjectMapper objectMapper,
JacksonModule.Config config) |