aries / net.globalid.aries.utils.json.adapters.providers / ConnectionRecordProvider

ConnectionRecordProvider

class ConnectionRecordProvider : JsonAdapterProvider<ConnectionRecord>

The connection record provider

Provides the the custom json adapter factor to the Moshi for converting sub-classes of the ConnectionRecord

Constructors

<init>

The connection record provider

ConnectionRecordProvider()

Properties

type

is the type of parsable class

val type: Class<ConnectionRecord>

Functions

register

fun register(builder: Builder): Unit