Serialization Service
Allows flows to serialize and deserialize objects to/from byte arrays.
Objects are serialized and deserialized using AMQP serialization.
Corda provides an instance of SerializationService to flows via property injection.
Functions
Extensions
Link copied to clipboard
inline fun <T : Any> SerializationService.deserialize(serializedBytes: SerializedBytes<T>): T
Content copied to clipboard
inline fun <T : Any> SerializationService.deserialize(bytes: ByteArray): T
Content copied to clipboard
Deserializes the input serialized bytes into an object of type T.