MtJsonHandler Class

MobileTrack global Json handler, for usage in System.Text.Json. Please do not create your own serializers!

Definition

Namespace: MobileTrack.Common.Services.JsonConverters
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static class MtJsonHandler
Inheritance
Object    MtJsonHandler

Methods

FromJsonT(Byte) Transforms Json into a MobileTrack object.
FromJsonT(Stream) Transforms Json into a MobileTrack object.
FromJsonT(String) Transforms Json into a MobileTrack object.
ToJsonT Transforms a MobileTrack object (or any other object) into JSON
ToJsonByteArrayT Transforms a MobileTrack object (or any other object) into JSON as a UTF8 Byte Array
ToJsonStreamT Transforms a MobileTrack object (or any other object) into JSON within a Stream.

Fields

MtJsonSourceGenerationContext Main JSON settings for all MobileTrack systems as well when working with SignalR, Azure Redis Cache and Azure Cosmos.

See Also