MtJsonHandlerFromJsonT(Stream) Method

Transforms Json into a MobileTrack object.

Definition

Namespace: MobileTrack.Common.Services.JsonConverters
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static T FromJson<T>(
	Stream stream
)

Parameters

stream  Stream
The stream containing the data

Type Parameters

T
The type to convert the object into

Return Value

T
The parsed stream converted to T

Exceptions

ArgumentNullExceptionThrown if stream is , or if T is not included in the SourceGenerationContext.

See Also