using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
""code"": ""code day1.1.1"",
""code"": ""code day1.2.1"",
""code"": ""code day1.2.2"",
""code"": ""code day2.1.1"",
""code"": ""code day2.1.2"",
""code"": ""code day2.2.1"",
public static void Main()
Console.WriteLine("Json.NET version: " + typeof(JsonSerializer).Assembly.FullName);
var dataSets = JsonConvert.DeserializeObject<SortedDictionary<DateTime, DataSet>>(content);
Console.WriteLine("Result of parsing: ");
Console.WriteLine(JsonConvert.SerializeObject(dataSets, Newtonsoft.Json.Formatting.Indented));