You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, trying very hard to figure out how to actually use these generated classes. I don't see anything about deserializing into them. Can I get an example please? I just end up with the class with all fields null.
Is there a special trick built into these classes?
I am trying the old school way like this:
GeneratedClassName response = null;
object json = JsonConvert.DeserializeObject(responseData);
if (json is JObject jObject)
{
response = jObject.ToObject<GeneratedClassName>();
}
Any assistance greatly appreciated!
The text was updated successfully, but these errors were encountered:
Hi, trying very hard to figure out how to actually use these generated classes. I don't see anything about deserializing into them. Can I get an example please? I just end up with the class with all fields null.
Is there a special trick built into these classes?
I am trying the old school way like this:
Any assistance greatly appreciated!
The text was updated successfully, but these errors were encountered: