Json.Write(Object, TextWriter) Method

Definition

Converts a data object to a string in JavaScript Object Notation (JSON) format and adds the string to the specified TextWriter object.

public static void Write (object value, System.IO.TextWriter writer);
static member Write : obj * System.IO.TextWriter -> unit
Public Shared Sub Write (value As Object, writer As TextWriter)

Parameters

value
Object

The data object to convert.

writer
TextWriter

The object that contains the converted JSON data.

Applies to