using System.Runtime.Serialization; using Newtonsoft.Json; namespace ShareeBike.Repository.Response { /// Holds position info. [DataContract] [JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)] public class Position { /// Latitude position (bike, station, map center...). [DataMember] public string latitude { get; private set; } /// Longitude position (bike, station, map center...). [DataMember] public string longitude { get; private set; } } }