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

TrustPingRecordProvider

class TrustPingRecordProvider : JsonAdapterProvider<TrustPingRecord>

The trust ping record provider

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

Constructors

<init>

The trust ping record provider

TrustPingRecordProvider()

Properties

type

is the type of parsable class

val type: Class<TrustPingRecord>

Functions

register

fun register(builder: Builder): Unit