object JacksonSupport
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.
Note that Jackson can also be used to serialise/deserialise other formats such as Yaml and XML.
AmountDeserializer |
object |
AmountSerializer |
object |
AnonymousPartyDeserializer |
object |
AnonymousPartySerializer |
object |
CordaX500NameDeserializer |
object |
CordaX500NameSerializer |
object |
IdentityObjectMapper |
class |
NodeInfoDeserializer |
object |
NodeInfoSerializer |
object |
NoPartyObjectMapper |
class |
OpaqueBytesDeserializer |
object |
OpaqueBytesSerializer |
object |
PartyDeserializer |
object |
PartyObjectMapper |
interface PartyObjectMapper |
PartySerializer |
object |
PublicKeyDeserializer |
object |
PublicKeySerializer |
object |
RpcObjectMapper |
class |
SecureHashDeserializer |
class |
SecureHashSerializer |
object |
SignedTransactionMixin |
abstract class |
ToStringSerializer |
object |
WireTransactionMixin |
abstract class |
cordaModule |
val |
createDefaultMapper |
Creates a Jackson ObjectMapper that uses RPC to deserialise parties from string names. fun createDefaultMapper(rpc: CordaRPCOps, factory: JsonFactory = JsonFactory(), fuzzyIdentityMatch: Boolean = false, fullParties: Boolean = false): ObjectMapper |
createInMemoryMapper |
Creates a Jackson ObjectMapper that uses an IdentityService directly inside the node to deserialise parties from string names. fun createInMemoryMapper(identityService: IdentityService, factory: JsonFactory = JsonFactory(), fuzzyIdentityMatch: Boolean = false, fullParties: Boolean = false): ObjectMapper |
createNonRpcMapper |
For testing or situations where deserialising parties is not required fun createNonRpcMapper(factory: JsonFactory = JsonFactory(), fullParties: Boolean = false): ObjectMapper |