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
convert this JSON->C#
[
{"ID_DO_Login":14, "firstname":"Timothy from Perth","lastname":"Simons" },
{"ID_DO_Login":42, "firstname":"Blake","lastname":"jim" }
]
We get this ..
// Root myDeserializedClass = JsonConvert.DeserializeObject<List>(myJsonResponse);
public class Root
{
public int ID_DO_Login { get; set; }
public string firstname { get; set; }
public string lastname { get; set; }
}
The correct Documentation comment should be this..
// List< Root> myDeserializedClass = JsonConvert.DeserializeObject<List>(myJsonResponse);
The text was updated successfully, but these errors were encountered:
convert this JSON->C#
[
{"ID_DO_Login":14, "firstname":"Timothy from Perth","lastname":"Simons" },
{"ID_DO_Login":42, "firstname":"Blake","lastname":"jim" }
]
We get this ..
// Root myDeserializedClass = JsonConvert.DeserializeObject<List>(myJsonResponse);
public class Root
{
public int ID_DO_Login { get; set; }
public string firstname { get; set; }
public string lastname { get; set; }
}
The correct Documentation comment should be this..
// List< Root> myDeserializedClass = JsonConvert.DeserializeObject<List>(myJsonResponse);
The text was updated successfully, but these errors were encountered: