How to convert a part of Json object into a string? #65
Unanswered
aryamansingh2008
asked this question in
Q&A
Replies: 1 comment
-
Hi, I think this is possible with the JS::JsonObject type. I have written a small sample here: https://godbolt.org/z/6vaabqcqx |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I have a class which parses the json into custom class, but I want some part of JSON to be extracted out as string, how can I achieve this using custom Type Handler?
E.g.
Now, I have a class like
I want to convert the Json into SomeDTO.
I don't want to store the JSON like
I am trying to create a custom TypeHandler like this, but I am unsure if this is even achievable
Beta Was this translation helpful? Give feedback.
All reactions