This documentation is archived and is not being maintained.

IXmlJsonReaderInitializer Interface

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

Namespace:  System.Runtime.Serialization.Json
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public interface IXmlJsonReaderInitializer

The XmlDictionaryReader objects created by one of the CreateJsonReader methods implement this interface and are initialized ready to read JSON-encoded data. But if a user wants to reuse the same XmlDictionaryReader 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 SetInput methods.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5