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

TE2000 | HMI Engineering · 0 次阅读

TcHmiJsonSerializer.Deserialize Method (String, Type, JsonSerializerSettings)

Deserializes the specified JSON String 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 Object Deserialize(
    string value,
    Type type,
    JsonSerializerSettings settings
)

Parameters

value

Type: System.String
The JSON String to convert.

type

Type: System.Type
The Type of the value to return.

settings

Type: JsonSerializerSettings
The JsonSerializerSettings that will be used to deserialize value or null to use the default JsonSerializerSettings.

Return Value

Type: Object
An Object instance that is equivalent to value.