JsonValueReaderWriter.FromJsonString(String, Object) 方法

定义

从字符串中的 JSON 读取值。

public object FromJsonString(string json, object? existingObject = default);
member this.FromJsonString : string * obj -> obj
Public Function FromJsonString (json As String, Optional existingObject As Object = Nothing) As Object

参数

json
String

要分析的 JSON。

existingObject
Object

可用于更新现有对象,而不是创建新对象。

返回

读取值。

适用于