toJsonLd

suspend fun toJsonLd(credential: VerifiableCredential): JsonObject

Convert credential to JSON-LD format.