using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Linq;
using System.Data;
public class Program
{
public static void Main()
string content = @"{
""response"":{
""header"":{
""error_code"":0,
""error_message"":""""
},
""body"":{
""price"":[
""shape"":""round"",
""low_size"":0.01,
""high_size"":0.03,
""color"":""d"",
""clarity"":""if"",
""caratprice"":800,
""date"":""2022-03-18""
""clarity"":""vvs1"",
}
]
}";
JObject jObj = JObject.Parse(content);
DataTable dt = jObj["response"]["body"]["price"].ToObject<DataTable>();
FiddleHelper.WriteTable(dt);