MobileTrack.Common.Services.JsonConverters.Generics Namespace

 

Classes

AbstractValueMapConverterT Converts a AbstractValueMapT to and from JSON.
ColorJsonConverter Converter for Color to ensure the output is small and fast to parse/write.
CultureInfoJsonConverter Parses CultureInfo to JSON and back.
DateTimeJsonConverter This converter is created because default DateTimeOffset notations in JSON do not allow it to be sorted correctly. By using Ticks (a long) instead, Azure can now correctly sort the values.
DictionaryGuidObjectJsonConverter Serializes and deserializes DictionaryTKey, TValue objects.
GpsLocationJsonConverter Converts the GeoLocation to and from JSON in the format "[latitude, longitude, altitude]", for the sake of memory management in COSMOS (we're storing a lot of these) and for performance reasons.
GpsLocationWithHeadingValueConverter Converts the GeoLocationWithHeading to and from JSON in the format "[latitude, longitude, altitude]", for the sake of memory management in COSMOS (we're storing a lot of these) and for performance reasons.
ImageReferenceJsonConverter JSON Converter for ImageReferences
ImeiNumberJsonConverter JSON converter for ImeiNumber.
LocalizedStringJsonConverter JSON converter for LocalizedStringDto.
MacAddressJsonConverter Converts a MacAddress to and from JSON.
PhoneNumberJsonConverter Converts the PhoneNumber to and from JSON in the format "[nation, number]",
PointFJsonConverter Converts the PointF to and from JSON in the format "[X, Y]",
PointJsonConverter Converts the Point to and from JSON in the format "[X, Y]",
SimCardJsonConverter Converter for SimCardNumbers (to convert them to Json and back)
TimeSpanJsonConverter JSON converter for TimeSpan.
TimeZoneJsonConverter JsonConverter for TimeZoneInfo