fromJsonLd

suspend fun CredentialService.fromJsonLd(json: JsonObject): VerifiableCredential

Convert JSON-LD to credential.

Example:

val credential = credentialService.fromJsonLd(jsonLd)