Otter SDK Reference
Version:

WriteJson(System.IO.TextWriter writer, object obj) Method

Writes an object as JSON-serialized data to a System.IO.TextWriter.

Syntax

public static void WriteJson(System.IO.TextWriter writer, object obj)

Parameters

writer
Type: System.IO.TextWriter

The System.IO.TextWriter used to write the JSON data.

obj
Type: object

The object to serialize.