LogJsonConverter Class

Converter for LogDtos (to convert them to Json and back) In most readers, we walk through all the properties without a proper sorting order for said properties, because they can be submitted through the API without regard for the sorting order. However, Logs are ours 100%, and we determine the order of the properties explicitly. Because we can gather hundreds of items at once, doing it manually is 100% faster.

Definition

Namespace: MobileTrack.Common.Services.JsonConverters.BusinessObjects
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
internal sealed class LogJsonConverter : MtBaseJsonConverter<LogDto>
Inheritance
Object    JsonConverter    JsonConverterLogDto    MtBaseJsonConverterLogDto    LogJsonConverter

Constructors

LogJsonConverterInitializes a new instance of the LogJsonConverter class

Methods

WriteWrites a specified value as JSON.
(Overrides JsonConverterTWrite(Utf8JsonWriter, T, JsonSerializerOptions))

See Also