-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmap.cs
35 lines (26 loc) · 780 Bytes
/
map.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// <auto-generated />
//
// To parse this JSON data, add NuGet 'Newtonsoft.Json' then do:
//
// using RealAirplaneTag;
//
// var map = Map.FromJson(jsonString);
namespace RealAirplaneTag
{
using System;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
public partial class Map
{
[JsonProperty("arrivals")]
public string[] Arrivals { get; set; }
[JsonProperty("departures")]
public string[] Departures { get; set; }
}
public partial class Map
{
public static Dictionary<string, Map> FromJson(string json) => JsonConvert.DeserializeObject<Dictionary<string, Map>>(json, RealAirplaneTag.Converter.Settings);
}
}