public class Jackson2HalModule
extends com.fasterxml.jackson.databind.module.SimpleModule
Link and ResourceSupport instances in HAL compatible JSON.| Modifier and Type | Class and Description |
|---|---|
static class |
Jackson2HalModule.HalHandlerInstantiator
HandlerInstantiator to create HAL-specific serializers, deserializers etc.
|
static class |
Jackson2HalModule.HalLinkListDeserializer |
static class |
Jackson2HalModule.HalLinkListSerializer
Custom
JsonSerializer to render Link instances in HAL compatible JSON. |
static class |
Jackson2HalModule.HalResourcesDeserializer |
static class |
Jackson2HalModule.HalResourcesSerializer
Custom
JsonSerializer to render Resource-Lists in HAL compatible JSON. |
static class |
Jackson2HalModule.OptionalListJackson2Serializer
Custom
JsonSerializer to render Link instances in HAL compatible JSON. |
static class |
Jackson2HalModule.TrueOnlyBooleanSerializer
JsonSerializer to only render Boolean values if they're set to true. |
| Constructor and Description |
|---|
Jackson2HalModule() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAlreadyRegisteredIn(com.fasterxml.jackson.databind.ObjectMapper mapper)
Returns whether the module was already registered in the given
ObjectMapper. |
addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, versionCopyright © 2012-2016–2017 Pivotal, Inc.. All rights reserved.