System.Runtime.Serialization 4.0.0.0

The objects created by the methods implement this interface and when created are immediately ready to write JSON-encoded data. But if a user wants to reuse the same object to write a new JSON document to another output stream, then the writer must be initialized to the appropriate stream by using the method.

Specifies the interface for initializing a JavaScript Object Notation (JSON) writer when reusing them to write to a particular output stream.

- Method
  4.0.0.0
  System.Void `` `` ``

  The objects created by the methods implement this interface and when created are immediately ready to write JSON-encoded data. But if a user wants to reuse the same object to write a new JSON document to another output stream, then the writer must be initialized to the appropriate stream by using the method.

  The writers created by can handle the UTF-8 and the UTF-16 (big- or little-endian) encodings.

  Initializes (or reinitializes) a JavaScript Object Notation (JSON) writer to a specified output stream with specified character encoding.

  The output to which the writer writes. The that specifies the character encoding of the output stream. If true, the output stream is closed by the writer when done; otherwise false.