using System.Collections.Generic;
using Newtonsoft.Json.Linq;
public DateTime date { get; set; }
public int number { get; set; }
public string name { get; set; }
public string note { get; set; }
[JsonProperty("treatment")]
public List<Treatment> data { get; set; }
public static void Test()
var jsonval = @"{""treatment"":[{""date"":""09.07.2015"",""number"":""22"",""name"":""Jackson"",""note"":""bla""}]}";
var output = JsonConvert.DeserializeObject<Treatments>(jsonval);
foreach (var item in output.data)
Console.WriteLine("date: {0}, number: {1}, name: {2}, note: {3}", item.date, item.number, item.name, item.note);
public static void Main()