以下のjsonレスポンスを見つけてください...
{
"personalDetails": {
"Name ": " Taeyeon",
"Date Of Birth ": " 03/09/1989",
"Zodiac ": " Pisces"
},
"education": {
"High School ": " Jeonju Art High school ",
"University ": " -"
}
}
私のクラスはここにあります
public class Biography
{
public personalDetails personalDetails { get; set; }
public education education { get; set; }
public work work { get; set; }
public personal personal { get; set; }
}
public class personalDetails
{
public string Name { get; set; }
public string DateBirth { get; set; }
public string Zodiac { get; set; }
}
public class education
{
public string HighSchool { get; set; }
public string University { get; set; }
}
それから私はコードを入れます:
Biography dataSet = JsonConvert.DeserializeObject<Biography>(e.Result);
Arttribute にスペースがあるため、機能しません。私は何をすべきか?