I have an array like this:
{
"214460106": {
"HALTESTELLEN_ID": "214460106",
"TYP": "stop",
"DIVA": "60200001",
"NAME": "Absberggasse",
"GEMEINDE": "Wien",
"GEMEINDE_ID": "90000",
"WGS84_LAT": "48.1738010728644",
"WGS84_LON": "16.3898072745249",
"STAND": "",
"PLATFORMS": [{
"LINIE": "6",
"ECHTZEIT": "1",
"VERKEHRSMITTEL": "ptTram",
"RBL_NUMMER": "406",
"BEREICH": "0",
"RICHTUNG": "H",
"REIHENFOLGE": "16",
"STEIG": "6-H",
"STEIG_WGS84_LAT": "48.173825035357",
"STEIG_WGS84_LON": "16.3894569315641"
},
{
"LINIE": "6",
"ECHTZEIT": "1",
"VERKEHRSMITTEL": "ptTram",
"RBL_NUMMER": "420",
"BEREICH": "0",
"RICHTUNG": "R",
"REIHENFOLGE": "19",
"STEIG": "6-R",
"STEIG_WGS84_LAT": "48.1739867818893",
"STEIG_WGS84_LON": "16.3898162576777"
},
{
"LINIE": "N6",
"ECHTZEIT": "1",
"VERKEHRSMITTEL": "ptBusNight",
"RBL_NUMMER": "406",
"BEREICH": "0",
"RICHTUNG": "H",
"REIHENFOLGE": "13",
"STEIG": "N6-H",
"STEIG_WGS84_LAT": "48.1738010728644",
"STEIG_WGS84_LON": "16.3892682853544"
},
{
"LINIE": "N6",
"ECHTZEIT": "1",
"VERKEHRSMITTEL": "ptBusNight",
"RBL_NUMMER": "420",
"BEREICH": "0",
"RICHTUNG": "R",
"REIHENFOLGE": "6",
"STEIG": "N6-R",
"STEIG_WGS84_LAT": "48.1740406972867",
"STEIG_WGS84_LON": "16.3896994766908"
}],
"LINES": ["6",
"N6"]
},
"214460107": {
"HALTESTELLEN_ID": "214460107",
"TYP": "stop",
"DIVA": "60200002",
"NAME": "Achengasse",
"GEMEINDE": "Wien",
"GEMEINDE_ID": "90000",
"WGS84_LAT": "48.2845258075837",
"WGS84_LON": "16.4488984539143",
"STAND": "",
"PLATFORMS": [{
"LINIE": "32A",
"ECHTZEIT": "1",
"VERKEHRSMITTEL": "ptBusCity",
"RBL_NUMMER": "1168",
"BEREICH": "0",
"RICHTUNG": "H",
"REIHENFOLGE": "7",
"STEIG": "32A-H",
"STEIG_WGS84_LAT": "48.284334521556",
"STEIG_WGS84_LON": "16.4489523528313"
},
{
"LINIE": "32A",
"ECHTZEIT": "1",
"VERKEHRSMITTEL": "ptBusCity",
"RBL_NUMMER": "1159",
"BEREICH": "0",
"RICHTUNG": "R",
"REIHENFOLGE": "35",
"STEIG": "32A-R",
"STEIG_WGS84_LAT": "48.2844540754073",
"STEIG_WGS84_LON": "16.4509825453734"
}],
"LINES": ["32A"]
},
... and so on
Is there any way to format something like this in a List<class>
? I tried to do it but he always stops at the 21460106 number. Also tried json2csharp but that only makes 5000 classes where every class has the number as its name.
See Question&Answers more detail:
os