using System.Collections.Generic;
static void Main(string[] args)
""key"": ""MobileNetworkOperator"",
""name"": ""MNO Option"",
""10"": ""Deutsche Telecom""
""11"": ""Standard Europe""
""rebootRequired"": true,
var jsonDto = JsonSerializer.Deserialize<JsonDto>(input);
var result = new UsableObject {
RebootRequired=jsonDto.rebootRequired,
Default=jsonDto.@default,
.ToDictionary(kvp=> kvp.Key, kvp=> kvp.Value),
public partial class JsonDto
public string key { get; set; }
public string name { get; set; }
public string type { get; set; }
public List<Dictionary<string, string>> options { get; set; }
public bool rebootRequired { get; set; }
public long @default { get; set; }
public partial class UsableObject {
public string Key { get; set; }
public string Name { get; set; }
public string Type { get; set; }
public Dictionary<string, string> Options { get; set; }
public bool RebootRequired { get; set; }
public long Default { get; set; }