Share via


JsonOutputFormatter.WriteObject(TextWriter, Object) Method

Definition

Writes the given value as JSON using the given writer.

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

Parameters

writer
TextWriter

The TextWriter used to write the value

value
Object

The value to write as JSON.

Applies to