Share via


JsonValueReaderWriter.FromJsonString(String, Object) Method

Definition

Reads the value from JSON in a string.

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

Parameters

json
String

The JSON to parse.

existingObject
Object

Can be used to update an existing object, rather than create a new one.

Returns

The read value.

Applies to