public class JacksonModule extends Object implements com.google.inject.Module
| Constructor and Description |
|---|
JacksonModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.google.inject.Binder binder) |
com.fasterxml.jackson.databind.ObjectMapper |
jsonMapper(Properties props) |
com.fasterxml.jackson.databind.ObjectMapper |
jsonMapperOnlyNonNullValue(Properties props)
Provides ObjectMapper that suppress serializing properties with null values
|
com.fasterxml.jackson.databind.ObjectMapper |
smileMapper(Properties props) |
public void configure(com.google.inject.Binder binder)
configure in interface com.google.inject.Module@Provides public com.fasterxml.jackson.databind.ObjectMapper jsonMapper(Properties props)
@Provides public com.fasterxml.jackson.databind.ObjectMapper jsonMapperOnlyNonNullValue(Properties props)
@Provides public com.fasterxml.jackson.databind.ObjectMapper smileMapper(Properties props)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.