Condividi tramite


JsonReaderWriterFactory.CreateJsonReader Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Creates an XmlDictionaryReader that can map streams or buffers encoded with JavaScript Object Notation (JSON) to an XML Infoset.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member CreateJsonReader(array<Byte[], XmlDictionaryReaderQuotas) Creates an XmlDictionaryReader that can map a specified buffer encoded with JavaScript Object Notation (JSON) to an XML Infoset.
Public methodStatic member CreateJsonReader(Stream, XmlDictionaryReaderQuotas) Creates an XmlDictionaryReader that can map a specified stream encoded with JavaScript Object Notation (JSON) to an XML Infoset.
Public methodStatic member CreateJsonReader(array<Byte[], Int32, Int32, XmlDictionaryReaderQuotas) Creates an XmlDictionaryReader that can map a buffer encoded with JavaScript Object Notation (JSON), of a specified size and offset, to an XML Infoset.

Top

Remarks

The XmlDictionaryReaderQuotas must be set to Max in each of the following overloads for Silverlight 5 applications, effectively disabling the use of quotas.