TrustWeave SDK
Toggle table of contents
0.7.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
TrustWeave SDK
credentials-credential-api
/
org.trustweave.credential
/
toJsonLd
to
Json
Ld
suspend
fun
CredentialService
.
toJsonLd
(
credential
:
VerifiableCredential
)
:
JsonObject
Convert credential to JSON-LD format.
Example:
val jsonLd = credentialService.toJsonLd(credential)
Content copied to clipboard