JsonOutputFormatter.WriteObject(TextWriter, 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 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.