Skip to content

Use of type VerifiableCredential.kt as type for serialization #66

Answered by mikeplotean
magnusk85 asked this question in Help
Discussion options

You must be logged in to vote

Hi, VerifiableCredential has 3 methods that can help with serialization:

  • toJsonObject - returns a kotlinx.serialization.json.JsonObject
  • toJsonElement - returns a kotlinx.serialization.json.JsonElement
  • toJson - returns the credential json representation as a String

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by taminobaumann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants