I cant figure out the way to decode this JSON using Swift. I tried to follow a bunch of tutorials and guides but there is nothing that works for me.
The only things I am able to add static CodingKeys are: "especificaciones", "id", "titulo" and "default"
"especificaciones" : {
"EXTERIOR" : {
"sistema_automatico_de_ajuste_de_altura_para_faros" : {
"id" : "865",
"titulo" : "Sistema automatico de ajuste de altura para faros",
"default" : ""
},
"antena_" : {
"id" : "1366",
"titulo" : "Antena ",
"default" : ""
},
"luces_direccionales_en_espejos_laterales" : {
"id" : "734",
"titulo" : "Luces direccionales en espejos laterales",
"default" : ""
},
"faros_traseros" : {
"id" : "1430",
"titulo" : "Faros traseros",
"default" : ""
},
},
"DIMENSIONES INTERIORES" : {
"espacio_para_las_piernas___delantera_trasera" : {
"id" : "1417",
"titulo" : "Espacio para las piernas - delantera/trasera",
"default" : ""
},
"espacio_para_los_hombros____delantera_trasera" : {
"id" : "1418",
"titulo" : "Espacio para los hombros - delantera/trasera",
"default" : ""
},
"area_de_carga__l_" : {
"id" : "1498",
"titulo" : "Area de carga (L)",
"default" : ""
}
}
}
This is not the whole JSON but probably with this you can get an idea of what I am looking for.