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+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
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