点击或拖拽改变大小

JsonSerializerToObject 方法 (StreamReader, Type, JsonDeserializeOption)

注意:此 API 现在已过时。

Deserializes JSON from the StreamReader

命名空间:  CPF.Windows.Json
程序集:  CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法
C#
[ObsoleteAttribute("Current convection processing does not achieve the meaning of the stream itself. Errors occur when the length of the deserialized character exceeds the length of StreamReader's charBuffer. This method will be revised in the next version.", 
	false)]
public static Object ToObject(
	StreamReader streamReader,
	Type type,
	JsonDeserializeOption option = null
)

参数

streamReader
类型:System.IOStreamReader
Stream
type
类型:SystemType
Types converted
option (Optional)
类型:CPF.Windows.JsonJsonDeserializeOption
Json Deserialize Option

返回值

类型:Object
Object
参见