-
I'm getting the following result from my API:
and want this to be deserialized to be used in a handy object. But the return object "res" from: is empty. I've created corresponding classes with Attributes like this:
How can I debug what's going wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This question is really about json.net, and how it deserializes objects. I suggest starting small, and using |
Beta Was this translation helpful? Give feedback.
-
I've traced the issue down to the root element of the response. It is described here https://code-examples.net/en/q/d11601 . Is there any way I can do that in RestEase somehow? |
Beta Was this translation helpful? Give feedback.
This question is really about json.net, and how it deserializes objects.
I suggest starting small, and using
JsonConvert.DeserializeObject
to test deserialization of your response using your models. Once that works, RestEase should work