CPF api文档
CPF api文档
CPF.Windows.Json
JsonSerializer 类
JsonSerializer 方法
ToObject 方法
ToObject(T) 方法 (StreamReader, JsonDeserializeOption)
ToObject(T) 方法 (String, JsonDeserializeOption)
ToObject 方法 (StreamReader, Type, JsonDeserializeOption)
ToObject 方法 (String, Type, JsonDeserializeOption)
JsonSerializer
ToObject 方法 (String, Type, JsonDeserializeOption)
Converting Json strings to objects
命名空间:
CPF.Windows.Json
程序集:
CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法
C#
复制
public
static
Object
ToObject
(
string
json
,
Type
type
,
JsonDeserializeOption
option
=
null
)
参数
json
类型:
System
String
Json string
type
类型:
System
Type
Types converted
option
(Optional)
类型:
CPF.Windows.Json
JsonDeserializeOption
Json Deserialize Option
返回值
类型:
Object
Object
参见
引用
JsonSerializer 类
ToObject 重载
CPF.Windows.Json 命名空间