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
Results in:
// Root myDeserializedClass = JsonConvert.DeserializeObject(myJsonResponse);
public class MyArray {
public string prop1 { get; set; }
}
public class Root {
public List MyArray { get; set; }
}
Should be something like:
JsonConvert.DeserializeObject<List>(myJsonResponse);
The text was updated successfully, but these errors were encountered:
ill close this for now as this seems like a special case for when you only have an array in place, ill reopen this if its requested again or anyone was interested in doing it
[
{
"prop1": "value1"
}
]
Results in:
// Root myDeserializedClass = JsonConvert.DeserializeObject(myJsonResponse);
public class MyArray {
public string prop1 { get; set; }
}
public class Root {
public List MyArray { get; set; }
}
Should be something like:
JsonConvert.DeserializeObject<List>(myJsonResponse);
The text was updated successfully, but these errors were encountered: