System.Runtime.Serialization 4.0.0.0

The objects created by one of the methods implement this interface and are initialized ready to read JSON-encoded data. But if a user wants to reuse the same object to read other JSON-encoded data, then the reader must be initialized to the second dataset to be read by using one of the methods.

Specifies the interface for initializing a JavaScript Object Notation (JSON) reader when reusing them to read from a particular stream or buffer.

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

  A object that reads JSON-encoded streams can be reused by calling the method to reinitialize it.

  The reader can interpret the UTF-8 and the UTF-16 (big- or little-endian) encodings. The reader uses the encoding set at initialization time if one is passed or the encoding is automatically detected if null is passed.

  The value set as part of the parameter only limits the amount of information being read into memory when the input is being read from a stream with the method and is not enforced when the method is used to read information from a buffer. The limits on the number of attributes that can be loaded are not relevant to the JSON context.

  Reinitializes a JavaScript Object Notation (JSON) enabled reader to a specified stream that contains JSON-encoded data.

  The input from which to read. The used by the reader. to apply. Delegate to call when the reader is closed.
- Method
  4.0.0.0
  System.Void `` `` `` `` `` ``

  A object that reads a JSON-encoded buffered can be reused by calling the method to reinitialize it.

  The reader can interpret the UTF-8 and the UTF-16 (big- or little-endian) encodings. The reader uses the encoding set at initialization time if one is passed or the encoding is automatically detected if null is passed.

  The value set as part of the parameter only limits the amount of information being read into memory when the input is being read from a stream with the method and is not enforced when the method is used to read information from a buffer. The limits on the number of attributes that can be loaded are not relevant to the JSON context.

  Reinitializes a JavaScript Object Notation (JSON) enabled reader to a specified buffer that contains JSON-encoded data.

  The input buffer array from which to read. The starting position from which to read in . The number of bytes that can be read from . The used by the reader. The to apply. The delegate to call when the reader is closed.