i have json file, has many json objects:
[ "diem": { "name":["a"], "inrul":[] }, "doan": { "name":["a","b"], "inrul":[] }, "tamgiac": { "name":["a","b","c"], "inrul":[] }, "tamgiacvuong": { "name":["a","b","c"], "inrul":[] } ] and, have class in c#:
class content { public string name; public list<string> inrul; } how can convert json file above objects in c#?
diem.name //print array [a] doan.name //print array [a,b] thank much!
Comments
Post a Comment