roundTripJsonLd
Round-trip transformation: credential -> JSON-LD -> credential.
Useful for testing that JSON-LD transformation preserves all credential data.
Example:
val recovered = credential.roundTripJsonLd()
assertEquals(credential.id, recovered.id)Content copied to clipboard
Return
Credential recovered from JSON-LD transformation