using System.Collections.Generic;
public static void Main()
string json = "{ \"status\": { \"key1\": \"value1\", \"key2\": \"value2\", \"key3\": \"value3\", \"key4\": \"value4\", \"key5\": \"value5\" }, \"message\": \"success\"}";
Rootobject rootObj = JsonConvert.DeserializeObject<Rootobject>(json);
Console.WriteLine("# Keys: " + rootObj.status.Keys.Count);
Console.WriteLine("Message: " + rootObj.message);
public Dictionary<string, string> status { get; set; }
public string message { get; set; }