Skip to content

How can I serialize com.ibm.watson.assistant.v1.model.Context? #1159

Answered by kevinkowa
ruimo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ruimo,

You can try the following GsonSingleton.getGson().toJson(contextModel);. Let me know if it works for you!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ruimo
Comment options

Answer selected by ruimo
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants