public class JsonSupport
Utilities and serialisers for working with JSON representations of basic types. This adds Jackson support for the java.time API, some core types, and Kotlin data classes.
Modifier and Type | Class and Description |
---|---|
static class |
JsonSupport.CalendarDeserializer |
static class |
JsonSupport.CompositeKeyDeserializer |
static class |
JsonSupport.CompositeKeySerializer |
static class |
JsonSupport.LocalDateDeserializer |
static class |
JsonSupport.LocalDateKeyDeserializer |
static class |
JsonSupport.NodeInfoDeserializer |
static class |
JsonSupport.NodeInfoSerializer |
static class |
JsonSupport.PartyDeserializer |
static class |
JsonSupport.PartySerializer |
static class |
JsonSupport.PublicKeyDeserializer |
static class |
JsonSupport.PublicKeySerializer |
static class |
JsonSupport.SecureHashDeserializer<T extends SecureHash>
Implemented as a class so that we can instantiate for T.
|
static class |
JsonSupport.SecureHashSerializer |
static class |
JsonSupport.ServiceHubObjectMapper |
static class |
JsonSupport.ToStringSerializer |
Modifier and Type | Field and Description |
---|---|
static JsonSupport |
INSTANCE
Utilities and serialisers for working with JSON representations of basic types. This adds Jackson support for
the java.time API, some core types, and Kotlin data classes.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.ObjectMapper |
createDefaultMapper(IdentityService identities) |
com.fasterxml.jackson.databind.Module |
getCordaModule() |
com.fasterxml.jackson.databind.Module |
getJavaTimeModule() |
public static JsonSupport INSTANCE
Utilities and serialisers for working with JSON representations of basic types. This adds Jackson support for the java.time API, some core types, and Kotlin data classes.
public com.fasterxml.jackson.databind.Module getJavaTimeModule()
public com.fasterxml.jackson.databind.Module getCordaModule()
public com.fasterxml.jackson.databind.ObjectMapper createDefaultMapper(IdentityService identities)