Infosys在阅读器中打开 / AI 翻译

TE2000 | HMI Engineering · 0 次阅读

TcHmiJsonSerializer.Deserialize.T. Method (JsonReader, Boolean)

Deserializes the JSON String contained by the specified JsonReader to an equivalent instance of the specified type.

Namespace:  TcHmiSrv.Core.Tools.Json.Newtonsoft
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public static T Deserialize<T>(
    JsonReader reader,
    bool enableAdvancedConversions
)

Parameters

reader

Type: JsonReader
The JsonReader that contains the JSON String to convert.

enableAdvancedConversions

Type: System.Boolean
true to enabled advanced conversions; otherwise, false.

Type Parameters

T

The type of the value to return.

Return Value

Type: T
An instance of the specified type that is equivalent to the JSON String contained by reader.