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

CredentialRecordProvider

class CredentialRecordProvider : JsonAdapterProvider<CredentialRecord>

The credential record provider

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

Constructors

<init>

The credential record provider

CredentialRecordProvider()

Properties

type

is the type of parsable class

val type: Class<CredentialRecord>

Functions

register

fun register(builder: Builder): Unit