I try to decode a simple json using purest json externals
The file test.json in example works well but I failed in parsing this exemple: Do somebody tried such a task or have any advices?
Content of my file:
{
"AIS":{
"MMSI":227441980,
"TIMESTAMP":"2017-08-11 11:17:37 UTC",
"LATITUDE":46.1459,
"LONGITUDE":-1.16631,
"COURSE":360.0,
"SPEED":0.0,
"HEADING":511,
"IMO":0,
"NAME":"CLEMENTINE",
"CALLSIGN":"FJVK",
"TYPE":60,
"A":0,
"B":0,
"C":0,
"D":0,
"DRAUGHT":0.0,
"DESTINATION":"",
"ETA_AIS":"00-00 00:00",
"ETA":""
}
},
{
"AIS":{
"MMSI":247142520,
"TIMESTAMP":"2017-08-11 11:09:43 UTC",
"LATITUDE":37.93858,
"LONGITUDE":20.33623,
"COURSE":327.3,
"SPEED":9.0,
"HEADING":511,
"IMO":0,
"NAME":"MARIELLA II",
"CALLSIGN":"IZTN",
"TYPE":30,
"A":6,
"B":12,
"C":1,
"D":4,
"DRAUGHT":2.0,
"DESTINATION":"PESCA",
"ETA_AIS":"00-00 24:60",
"ETA":""
}
},
{
"AIS":{
"MMSI":538003777,
"TIMESTAMP":"2017-08-11 11:18:05 UTC",
"LATITUDE":36.28361,
"LONGITUDE":-3.5416,
"COURSE":260.0,
"SPEED":11.2,
"HEADING":260,
"IMO":9441271,
"NAME":"M/V CANARY",
"CALLSIGN":"V7TC3",
"TYPE":70,
"A":160,
"B":30,
"C":10,
"D":22,
"DRAUGHT":12.3,
"DESTINATION":"GIBRALTAR",
"ETA_AIS":"08-11 04:00",
"ETA":"2017-08-11 04:00:00"
}
}