CreateJsonReader Method

JsonReaderWriterFactory.CreateJsonReader Method

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.

  Name Description
Public method Static member CreateJsonReader(Byte[], XmlDictionaryReaderQuotas) Creates an XmlDictionaryReader that can map a specified buffer encoded with JavaScript Object Notation (JSON) to an XML Infoset.
Public method Static member CreateJsonReader(Stream, XmlDictionaryReaderQuotas) Creates an XmlDictionaryReader that can map a specified stream encoded with JavaScript Object Notation (JSON) to an XML Infoset.
Public method Static member CreateJsonReader(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

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

Community Additions

ADD
Show:
© 2016 Microsoft