using System.Collections.Generic;
public static void Main()
string jsonResponse = "{ \"num_bikes_available_types\":{ \"classic\":0, \"smart\":0, \"electric\":0}}";
BikeTypesWrapper falopinha = JsonConvert.DeserializeObject<BikeTypesWrapper>(jsonResponse);
public class BikeTypesWrapper
[JsonProperty("num_bikes_available_types")]
public BikeTypes Prueba { get; set; }
[JsonProperty("classic")]
public int Classic { get; set; }
public int Smart { get; set; }
[JsonProperty("electric")]
public int Electric { get; set; }