public class Jackson2HalModule
extends com.fasterxml.jackson.databind.module.SimpleModule
Link and RepresentationModel instances in HAL compatible
JSON.| Modifier and Type | Class and Description |
|---|---|
static class |
Jackson2HalModule.EmbeddedMapper
Helper to easily map embedded resources and find out whether they were curied.
|
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 EntityModel-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. |
_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, versionCopyright © 2011–2021 Pivotal, Inc.. All rights reserved.