fromJsonLd

open suspend override fun fromJsonLd(json: JsonObject): VerifiableCredential

Convert JSON-LD to credential.

Recommended: Use the extension function jsonLdObject.toCredential() instead for a more elegant API.

Return

Verifiable credential

Parameters

json

JSON-LD object

See also

Extension function