JsonValueReaderWriter.ToJsonString(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the value to a JSON string.
public string ToJsonString(object value);
public string ToJsonString(object? value);
member this.ToJsonString : obj -> string
Public Function ToJsonString (value As Object) As String
Parameters
- value
- Object
The value to write.
Returns
The JSON representation of the given value.