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.
TODO: This does not belong in node. It should be moved to the client module or a dedicated webserver module.
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(CordaRPCOps rpc) |
com.fasterxml.jackson.databind.ObjectMapper |
createInMemoryMapper(IdentityService identityService) |
com.fasterxml.jackson.databind.ObjectMapper |
createNonRpcMapper() |
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.
TODO: This does not belong in node. It should be moved to the client module or a dedicated webserver module.
public com.fasterxml.jackson.databind.Module getJavaTimeModule()
public com.fasterxml.jackson.databind.Module getCordaModule()
public com.fasterxml.jackson.databind.ObjectMapper createDefaultMapper(CordaRPCOps rpc)
public com.fasterxml.jackson.databind.ObjectMapper createNonRpcMapper()
public com.fasterxml.jackson.databind.ObjectMapper createInMemoryMapper(IdentityService identityService)