toJsonLd
Convert credential to JSON-LD format.
Returns the credential as a JSON-LD object (JsonObject).
Example:
val jsonLd = credential.toJsonLd()
println("JSON-LD: ${jsonLd.toString()}")Content copied to clipboard
Return
JSON-LD object