using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.ComponentModel;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
public Dictionary<string, List<Info>> Items { get; set; }
public string[] Errors { get; set; }
public string Prop1 { get; set; }
public string Prop2 { get; set; }
public int Prop3 { get; set; }
public bool Prop4 { get; set; }
public static void Main()
Console.WriteLine("Json.NET version: " + typeof(JsonSerializer).Assembly.FullName);
using (var sr = new StringReader(responseJSON))
using (var jr = new JsonTextReader(sr))
var serial = new JsonSerializer();
serial.Formatting = Formatting.Indented;
var obj = serial.Deserialize<Response>(jr);
var reserializedJSON = JsonConvert.SerializeObject(obj, Formatting.Indented);
Console.WriteLine("Re-serialized JSON: ");
Console.WriteLine(reserializedJSON);