using System.Collections.Generic;
public static void Main()
""cylinder_manufacturer"": [
""reference_standard"": [
""production_licence"": [
""valve_production_licence"": [
""rate_of_residual_deformation"": {
""cylinder_thickness"": []
Data data = JsonConvert.DeserializeObject<RootObject>(json).Data;
Dump("Valve maker", data.ValveMaker);
Dump("Water volume", data.WaterVolume);
Dump("Cylinder manufacturer", data.CylinderManufacturer);
Dump("QC stamp", data.QCStamp);
Dump("Reference standard", data.ReferenceStandard);
Dump("Production license", data.ProductionLicense);
Dump("Valve production license", data.ValveProductionLicense);
Dump("Rate of residual deformation", data.RateOfResidualDeformation);
Dump("Material number", data.MaterialNumber);
Dump("Heat treatment", data.HeatTreatment);
Dump("Drawing number", data.DrawingNumber);
Dump("Cylinder thickness", data.CylinderThickness);
static void Dump(string name, List<string> list)
Console.WriteLine(name + ": ");
foreach (var item in list)
Console.WriteLine(" " + item);
Console.WriteLine(" (none)");
static void Dump(string name, Dictionary<string, string> dict)
Console.WriteLine(name + ": ");
foreach (var kvp in dict)
Console.WriteLine(" " + kvp.Key + " - " + kvp.Value);
Console.WriteLine(" (none)");
public Data Data { get; set; }
[JsonProperty("valve_maker")]
public List<string> ValveMaker { get; set; }
[JsonProperty("water_volume")]
public List<string> WaterVolume { get; set; }
[JsonProperty("cylinder_manufacturer")]
public List<string> CylinderManufacturer { get; set; }
[JsonProperty("qc_stamp")]
public List<string> QCStamp { get; set; }
[JsonProperty("reference_standard")]
public List<string> ReferenceStandard { get; set; }
[JsonProperty("production_licence")]
public List<string> ProductionLicense { get; set; }
[JsonProperty("valve_production_licence")]
public List<string> ValveProductionLicense { get; set; }
[JsonProperty("rate_of_residual_deformation")]
public Dictionary<string, string> RateOfResidualDeformation { get; set; }
[JsonProperty("material_number")]
public Dictionary<string, string> MaterialNumber { get; set; }
[JsonProperty("heat_treatment")]
public Dictionary<string, string> HeatTreatment { get; set; }
[JsonProperty("drawing_number")]
public Dictionary<string, string> DrawingNumber { get; set; }
[JsonProperty("cylinder_thickness")]
public List<string> CylinderThickness { get; set; }