1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Runtime.Serialization.Json</name>
6 <member name="T:System.Runtime.Serialization.Json.JsonReaderWriterFactory">
7 <summary>Produces instances of <see cref="T:System.Xml.XmlDictionaryReader"></see> that can read data encoded with JavaScript Object Notation (JSON) from a stream or buffer and map it to an XML Infoset and instances of <see cref="T:System.Xml.XmlDictionaryWriter"></see> that can map an XML Infoset to JSON and write JSON-encoded data to a stream.</summary>
9 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonReader(System.Byte[],System.Xml.XmlDictionaryReaderQuotas)">
10 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryReader"></see> that can map buffers encoded with JavaScript Object Notation (JSON) to an XML Infoset.</summary>
11 <param name="buffer">The input <see cref="T:System.Byte"></see> buffer array from which to read.</param>
12 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> used to prevent Denial of Service attacks when reading untrusted data.</param>
13 <returns>An <see cref="T:System.Xml.XmlDictionaryReader"></see> that can process JavaScript Object Notation (JSON) data.</returns>
15 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonReader(System.IO.Stream,System.Xml.XmlDictionaryReaderQuotas)">
16 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryReader"></see> that can map streams encoded with JavaScript Object Notation (JSON) to an XML Infoset.</summary>
17 <param name="stream">The input <see cref="T:System.IO.Stream"></see> from which to read.</param>
18 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> used to prevent Denial of Service attacks when reading untrusted data.</param>
19 <returns>An <see cref="T:System.Xml.XmlDictionaryReader"></see> that can read JavaScript Object Notation (JSON).</returns>
21 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonReader(System.Byte[],System.Int32,System.Int32,System.Xml.XmlDictionaryReaderQuotas)">
22 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryReader"></see> that can map buffers encoded with JavaScript Object Notation (JSON), of a specified size and offset, to an XML Infoset.</summary>
23 <param name="buffer">The input <see cref="T:System.Byte"></see> buffer array from which to read.</param>
24 <param name="offset">Starting position from which to read in buffer.</param>
25 <param name="count">Number of bytes that can be read from buffer.</param>
26 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> used to prevent Denial of Service attacks when reading untrusted data.</param>
27 <returns>An <see cref="T:System.Xml.XmlDictionaryReader"></see> that can read JavaScript Object Notation (JSON).</returns>
29 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonReader(System.IO.Stream,System.Text.Encoding,System.Xml.XmlDictionaryReaderQuotas,System.Xml.OnXmlDictionaryReaderClose)">
30 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryReader"></see> that can map streams encoded with JavaScript Object Notation (JSON), of a specified size and offset, to an XML Infoset.</summary>
31 <param name="stream">The input <see cref="T:System.IO.Stream"></see> from which to read.</param>
32 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> that specifies the character encoding used by the reader. If <see langword="null"></see> is specified as the value, the reader attempts to auto-detect the encoding.</param>
33 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> used to prevent Denial of Service attacks when reading untrusted data.</param>
34 <param name="onClose">The <see cref="T:System.Xml.OnXmlDictionaryReaderClose"></see> delegate to call when the reader is closed.</param>
35 <returns>An <see cref="T:System.Xml.XmlDictionaryReader"></see> that can read JavaScript Object Notation (JSON).</returns>
37 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonReader(System.Byte[],System.Int32,System.Int32,System.Text.Encoding,System.Xml.XmlDictionaryReaderQuotas,System.Xml.OnXmlDictionaryReaderClose)">
38 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryReader"></see> that can map buffers encoded with JavaScript Object Notation (JSON), with a specified size and offset and character encoding, to an XML Infoset.</summary>
39 <param name="buffer">The input <see cref="T:System.Byte"></see> buffer array from which to read.</param>
40 <param name="offset">Starting position from which to read in buffer.</param>
41 <param name="count">Number of bytes that can be read from buffer.</param>
42 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> that specifies the character encoding used by the reader. If <see langword="null"></see> is specified as the value, the reader attempts to auto-detect the encoding.</param>
43 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> used to prevent Denial of Service attacks when reading untrusted data.</param>
44 <param name="onClose">The <see cref="T:System.Xml.OnXmlDictionaryReaderClose"></see> delegate to call when the reader is closed. The default value is <see langword="null"></see>.</param>
45 <returns>An <see cref="T:System.Xml.XmlDictionaryReader"></see> that can read JavaScript Object Notation (JSON).</returns>
47 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonWriter(System.IO.Stream)">
48 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to a stream.</summary>
49 <param name="stream">The output <see cref="T:System.IO.Stream"></see> for the JSON writer.</param>
50 <returns>An <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to the stream based on an XML Infoset.</returns>
52 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonWriter(System.IO.Stream,System.Text.Encoding)">
53 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to a stream with a specified character encoding.</summary>
54 <param name="stream">The output <see cref="T:System.IO.Stream"></see> for the JSON writer.</param>
55 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> that specifies the character encoding used by the writer. The default encoding is UTF-8.</param>
56 <returns>An <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to the stream based on an XML Infoset.</returns>
58 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonWriter(System.IO.Stream,System.Text.Encoding,System.Boolean)">
59 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to a stream with a specified character encoding.</summary>
60 <param name="stream">The output <see cref="T:System.IO.Stream"></see> for the JSON writer.</param>
61 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> that specifies the character encoding used by the writer. The default encoding is UTF-8.</param>
62 <param name="ownsStream">If <see langword="true"></see>, the output stream is closed by the writer when done; otherwise <see langword="false"></see>. The default value is <see langword="true"></see>.</param>
63 <returns>An <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to the stream based on an XML Infoset.</returns>
65 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonWriter(System.IO.Stream,System.Text.Encoding,System.Boolean,System.Boolean)">
66 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to a stream with a specified character.</summary>
67 <param name="stream">The output <see cref="T:System.IO.Stream"></see> for the JSON writer.</param>
68 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> that specifies the character encoding used by the writer. The default encoding is UTF-8.</param>
69 <param name="ownsStream">If <see langword="true"></see>, the output stream is closed by the writer when done; otherwise <see langword="false"></see>. The default value is <see langword="true"></see>.</param>
70 <param name="indent">If <see langword="true"></see>, the output uses multiline format, indenting each level properly; otherwise, <see langword="false"></see>.</param>
71 <returns>An <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to the stream based on an XML Infoset.</returns>
73 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonWriter(System.IO.Stream,System.Text.Encoding,System.Boolean,System.Boolean,System.String)">
74 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to a stream with a specified character.</summary>
75 <param name="stream">The output <see cref="T:System.IO.Stream"></see> for the JSON writer.</param>
76 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> that specifies the character encoding used by the writer. The default encoding is UTF-8.</param>
77 <param name="ownsStream">If <see langword="true"></see>, the output stream is closed by the writer when done; otherwise <see langword="false"></see>. The default value is <see langword="true"></see>.</param>
78 <param name="indent">If <see langword="true"></see>, the output uses multiline format, indenting each level properly; otherwise, <see langword="false"></see>.</param>
79 <param name="indentChars">The string used to indent each level.</param>
80 <returns>An <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to the stream based on an XML Infoset.</returns>
82 <member name="T:System.Runtime.Serialization.Json.IXmlJsonWriterInitializer">
83 <summary>Specifies the interface for initializing a JavaScript Object Notation (JSON) writer when reusing them to write to a particular output stream.</summary>
85 <member name="M:System.Runtime.Serialization.Json.IXmlJsonWriterInitializer.SetOutput(System.IO.Stream,System.Text.Encoding,System.Boolean)">
86 <summary>Initializes (or reinitializes) a JavaScript Object Notation (JSON) writer to a specified output stream with specified character encoding.</summary>
87 <param name="stream">The output <see cref="T:System.IO.Stream"></see> to which the writer writes.</param>
88 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> that specifies the character encoding of the output stream.</param>
89 <param name="ownsStream">If <see langword="true"></see>, the output stream is closed by the writer when done; otherwise <see langword="false"></see>.</param>
91 <member name="T:System.Runtime.Serialization.Json.IXmlJsonReaderInitializer">
92 <summary>Specifies the interface for initializing a JavaScript Object Notation (JSON) reader when reusing them to read from a particular stream or buffer.</summary>
94 <member name="M:System.Runtime.Serialization.Json.IXmlJsonReaderInitializer.SetInput(System.IO.Stream,System.Text.Encoding,System.Xml.XmlDictionaryReaderQuotas,System.Xml.OnXmlDictionaryReaderClose)">
95 <summary>Reinitializes a JavaScript Object Notation (JSON) enabled reader to a specified stream that contains JSON-encoded data.</summary>
96 <param name="stream">The input <see cref="T:System.IO.Stream"></see> from which to read.</param>
97 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> used by the reader.</param>
98 <param name="quotas"><see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> to apply.</param>
99 <param name="onClose">Delegate to call when the reader is closed.</param>
101 <member name="M:System.Runtime.Serialization.Json.IXmlJsonReaderInitializer.SetInput(System.Byte[],System.Int32,System.Int32,System.Text.Encoding,System.Xml.XmlDictionaryReaderQuotas,System.Xml.OnXmlDictionaryReaderClose)">
102 <summary>Reinitializes a JavaScript Object Notation (JSON) enabled reader to a specified buffer that contains JSON-encoded data.</summary>
103 <param name="buffer">The input <see cref="T:System.Byte"></see> buffer array from which to read.</param>
104 <param name="offset">The starting position from which to read in buffer.</param>
105 <param name="count">The number of bytes that can be read from buffer.</param>
106 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> used by the reader.</param>
107 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> to apply.</param>
108 <param name="onClose">The <see cref="T:System.Xml.OnXmlDictionaryReaderClose"></see> delegate to call when the reader is closed.</param>
110 <member name="T:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings">
111 <summary>Specifies <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializer"></see> settings.</summary>
113 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.#ctor">
114 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings"></see> class.</summary>
116 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.DateTimeFormat">
117 <summary>Gets or sets a DateTimeFormat that defines the culturally appropriate format of displaying dates and times.</summary>
118 <returns>The DateTimeFormat that defines the culturally appropriate format of displaying dates and times.</returns>
120 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.EmitTypeInformation">
121 <summary>Gets or sets the data contract JSON serializer settings to emit type information.</summary>
122 <returns>The data contract JSON serializer settings to emit type information.</returns>
124 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.IgnoreExtensionDataObject">
125 <summary>Gets or sets a value that specifies whether to ignore data supplied by an extension of the class when the class is being serialized or deserialized.</summary>
126 <returns><see langword="True"></see> to ignore data supplied by an extension of the class when the class is being serialized or deserialized; otherwise, <see langword="false"></see>.</returns>
128 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.KnownTypes">
129 <summary>Gets or sets a collection of types that may be present in the object graph serialized using this instance the DataContractJsonSerializerSettings.</summary>
130 <returns>A collection of types that may be present in the object graph serialized using this instance the DataContractJsonSerializerSettings.</returns>
132 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.MaxItemsInObjectGraph">
133 <summary>Gets or sets the maximum number of items in an object graph to serialize or deserialize.</summary>
134 <returns>The maximum number of items in an object graph to serialize or deserialize.</returns>
136 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.RootName">
137 <summary>Gets or sets the root name of the selected object.</summary>
138 <returns>The root name of the selected object.</returns>
140 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.SerializeReadOnlyTypes">
141 <summary>Gets or sets a value that specifies whether to serialize read only types.</summary>
142 <returns><see langword="True"></see> to serialize read only types; otherwise <see langword="false"></see>.</returns>
144 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.UseSimpleDictionaryFormat">
145 <summary>Gets or sets a value that specifies whether to use a simple dictionary format.</summary>
146 <returns><see langword="True"></see> to use a simple dictionary format; otherwise, <see langword="false"></see>.</returns>
148 <member name="T:System.Runtime.Serialization.Json.DataContractJsonSerializer">
149 <summary>Serializes objects to the JavaScript Object Notation (JSON) and deserializes JSON data to objects. This class cannot be inherited.</summary>
151 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type)">
152 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializer"></see> class to serialize or deserialize an object of the specified type.</summary>
153 <param name="type">The type of the instances that is serialized or deserialized.</param>
155 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.Collections.Generic.IEnumerable{System.Type})">
156 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializer"></see> class to serialize or deserialize an object of the specified type, with a collection of known types that may be present in the object graph.</summary>
157 <param name="type">The type of the instances that are serialized or deserialized.</param>
158 <param name="knownTypes">An <see cref="T:System.Collections.Generic.IEnumerable`1"></see> of <see cref="T:System.Type"></see> that contains the types that may be present in the object graph.</param>
160 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.Runtime.Serialization.Json.DataContractJsonSerializerSettings)">
161 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializer"></see> class to serialize or deserialize an object of the specified type and serializer settings.</summary>
162 <param name="type">The type of the instances that is serialized or deserialized.</param>
163 <param name="settings">The serializer settings for the JSON serializer.</param>
165 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.String)">
166 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializer"></see> class to serialize or deserialize an object of a specified type using the XML root element specified by a parameter.</summary>
167 <param name="type">The type of the instances that is serialized or deserialized.</param>
168 <param name="rootName">The name of the XML element that encloses the content to serialize or deserialize.</param>
170 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.Xml.XmlDictionaryString)">
171 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializer"></see> class to serialize or deserialize an object of a specified type using the XML root element specified by a parameter of type <see cref="T:System.Xml.XmlDictionaryString"></see>.</summary>
172 <param name="type">The type of the instances that is serialized or deserialized.</param>
173 <param name="rootName">An <see cref="T:System.Xml.XmlDictionaryString"></see> that contains the root element name of the content.</param>
175 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.String,System.Collections.Generic.IEnumerable{System.Type})">
176 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializer"></see> class to serialize or deserialize an object of a specified type using the XML root element specified by a parameter, with a collection of known types that may be present in the object graph.</summary>
177 <param name="type">The type of the instances that is serialized or deserialized.</param>
178 <param name="rootName">The name of the XML element that encloses the content to serialize or deserialize. The default is &quot;root&quot;.</param>
179 <param name="knownTypes">An <see cref="T:System.Collections.Generic.IEnumerable`1"></see> of <see cref="T:System.Type"></see> that contains the types that may be present in the object graph.</param>
181 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.Xml.XmlDictionaryString,System.Collections.Generic.IEnumerable{System.Type})">
182 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializer"></see> class to serialize or deserialize an object of a specified type using the XML root element specified by a parameter of type <see cref="T:System.Xml.XmlDictionaryString"></see>, with a collection of known types that may be present in the object graph.</summary>
183 <param name="type">The type of the instances that is serialized or deserialized.</param>
184 <param name="rootName">An <see cref="T:System.Xml.XmlDictionaryString"></see> that contains the root element name of the content.</param>
185 <param name="knownTypes">An <see cref="T:System.Collections.Generic.IEnumerable`1"></see> of <see cref="T:System.Type"></see> that contains the types that may be present in the object graph.</param>
187 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.DateTimeFormat">
188 <summary>Gets the format of the date and time type items in object graph.</summary>
189 <returns>The format of the date and time type items in object graph.</returns>
191 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.EmitTypeInformation">
192 <summary>Gets or sets the data contract JSON serializer settings to emit type information.</summary>
193 <returns>The data contract JSON serializer settings to emit type information.</returns>
195 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.IgnoreExtensionDataObject">
196 <summary>Gets a value that specifies whether unknown data is ignored on deserialization and whether the <see cref="T:System.Runtime.Serialization.IExtensibleDataObject"></see> interface is ignored on serialization.</summary>
197 <returns><see langword="true"></see> to ignore unknown data and <see cref="T:System.Runtime.Serialization.IExtensibleDataObject"></see>; otherwise, <see langword="false"></see>.</returns>
199 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.IsStartObject(System.Xml.XmlDictionaryReader)">
200 <summary>Gets a value that specifies whether the <see cref="T:System.Xml.XmlDictionaryReader"></see> is positioned over an XML element that represents an object the serializer can deserialize from.</summary>
201 <param name="reader">The <see cref="T:System.Xml.XmlDictionaryReader"></see> used to read the XML stream mapped from JSON.</param>
202 <returns><see langword="true"></see> if the reader is positioned correctly; otherwise, <see langword="false"></see>.</returns>
204 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.IsStartObject(System.Xml.XmlReader)">
205 <summary>Determines whether the <see cref="T:System.Xml.XmlReader"></see> is positioned on an object that can be deserialized.</summary>
206 <param name="reader">The <see cref="T:System.Xml.XmlReader"></see> used to read the XML stream.</param>
207 <returns><see langword="true"></see> if the reader is positioned correctly; otherwise, <see langword="false"></see>.</returns>
209 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.KnownTypes">
210 <summary>Gets a collection of types that may be present in the object graph serialized using this instance of the <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializer"></see>.</summary>
211 <returns>A <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1"></see> that contains the expected types passed in as known types to the <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializer"></see> constructor.</returns>
213 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.MaxItemsInObjectGraph">
214 <summary>Gets the maximum number of items in an object graph that the serializer serializes or deserializes in one read or write call.</summary>
215 <returns>The maximum number of items to serialize or deserialize.</returns>
216 <exception cref="T:System.ArgumentOutOfRangeException">The number of items exceeds the maximum value.</exception>
218 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(System.IO.Stream)">
219 <summary>Reads a document stream in the JSON (JavaScript Object Notation) format and returns the deserialized object.</summary>
220 <param name="stream">The <see cref="T:System.IO.Stream"></see> to be read.</param>
221 <returns>The deserialized object.</returns>
223 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(System.Xml.XmlDictionaryReader)">
224 <summary>Reads the XML document mapped from JSON (JavaScript Object Notation) with an <see cref="T:System.Xml.XmlDictionaryReader"></see> and returns the deserialized object.</summary>
225 <param name="reader">An <see cref="T:System.Xml.XmlDictionaryReader"></see> used to read the XML document mapped from JSON.</param>
226 <returns>The deserialized object.</returns>
228 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(System.Xml.XmlReader)">
229 <summary>Reads the XML document mapped from JSON (JavaScript Object Notation) with an <see cref="T:System.Xml.XmlReader"></see> and returns the deserialized object.</summary>
230 <param name="reader">An <see cref="T:System.Xml.XmlReader"></see> used to read the XML document mapped from JSON.</param>
231 <returns>The deserialized object.</returns>
233 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(System.Xml.XmlDictionaryReader,System.Boolean)">
234 <summary>Reads the XML document mapped from JSON with an <see cref="T:System.Xml.XmlDictionaryReader"></see> and returns the deserialized object; it also enables you to specify whether the serializer should verify that it is positioned on an appropriate element before attempting to deserialize.</summary>
235 <param name="reader">An <see cref="T:System.Xml.XmlDictionaryReader"></see> used to read the XML document mapped from JSON.</param>
236 <param name="verifyObjectName"><see langword="true"></see> to check whether the enclosing XML element name and namespace correspond to the expected name and namespace; otherwise, <see langword="false"></see> to skip the verification. The default is <see langword="true"></see>.</param>
237 <returns>The deserialized object.</returns>
239 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(System.Xml.XmlReader,System.Boolean)">
240 <summary>Reads an XML document mapped from JSON with an <see cref="T:System.Xml.XmlReader"></see> and returns the deserialized object; it also enables you to specify whether the serializer should verify that it is positioned on an appropriate element before attempting to deserialize.</summary>
241 <param name="reader">An <see cref="T:System.Xml.XmlReader"></see> used to read the XML document mapped from JSON.</param>
242 <param name="verifyObjectName"><see langword="true"></see> to check whether the enclosing XML element name and namespace correspond to the expected name and namespace; otherwise, <see langword="false"></see>, which skips the verification. The default is <see langword="true"></see>.</param>
243 <returns>The deserialized object.</returns>
245 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.SerializeReadOnlyTypes">
246 <summary>Gets or sets a value that specifies whether to serialize read only types.</summary>
247 <returns><see langword="true"></see> to serialize read only types; otherwise <see langword="false"></see>.</returns>
249 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.UseSimpleDictionaryFormat">
250 <summary>Gets or sets a value that specifies whether to use a simple dictionary format.</summary>
251 <returns><see langword="true"></see> to use a simple dictionary format; otherwise, <see langword="false"></see>.</returns>
253 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteEndObject(System.Xml.XmlWriter)">
254 <summary>Writes the closing XML element to an XML document, using an <see cref="T:System.Xml.XmlWriter"></see>, which can be mapped to JavaScript Object Notation (JSON).</summary>
255 <param name="writer">An <see cref="T:System.Xml.XmlWriter"></see> used to write the XML document mapped to JSON.</param>
257 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteEndObject(System.Xml.XmlDictionaryWriter)">
258 <summary>Writes the closing XML element to an XML document, using an <see cref="T:System.Xml.XmlDictionaryWriter"></see>, which can be mapped to JavaScript Object Notation (JSON).</summary>
259 <param name="writer">An <see cref="T:System.Xml.XmlDictionaryWriter"></see> used to write the XML document to map to JSON.</param>
261 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject(System.IO.Stream,System.Object)">
262 <summary>Serializes a specified object to JavaScript Object Notation (JSON) data and writes the resulting JSON to a stream.</summary>
263 <param name="stream">The <see cref="T:System.IO.Stream"></see> that is written to.</param>
264 <param name="graph">The object that contains the data to write to the stream.</param>
265 <exception cref="T:System.Runtime.Serialization.InvalidDataContractException">The type being serialized does not conform to data contract rules. For example, the <see cref="System.Runtime.Serialization.DataContractAttribute"></see> attribute has not been applied to the type.</exception>
266 <exception cref="T:System.Runtime.Serialization.SerializationException">There is a problem with the instance being written.</exception>
267 <exception cref="T:System.ServiceModel.QuotaExceededException">The maximum number of objects to serialize has been exceeded. Check the <see cref="System.Runtime.Serialization.DataContractSerializer.MaxItemsInObjectGraph"></see> property.</exception>
269 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject(System.Xml.XmlDictionaryWriter,System.Object)">
270 <summary>Serializes an object to XML that may be mapped to JavaScript Object Notation (JSON). Writes all the object data, including the starting XML element, content, and closing element, with an <see cref="T:System.Xml.XmlDictionaryWriter"></see>.</summary>
271 <param name="writer">The <see cref="T:System.Xml.XmlDictionaryWriter"></see> used to write the XML document or stream to map to JSON.</param>
272 <param name="graph">The object that contains the data to write.</param>
273 <exception cref="T:System.Runtime.Serialization.InvalidDataContractException">The type being serialized does not conform to data contract rules. For example, the <see cref="System.Runtime.Serialization.DataContractAttribute"></see> attribute has not been applied to the type.</exception>
274 <exception cref="T:System.Runtime.Serialization.SerializationException">There is a problem with the instance being written.</exception>
275 <exception cref="T:System.ServiceModel.QuotaExceededException">The maximum number of objects to serialize has been exceeded. Check the <see cref="System.Runtime.Serialization.DataContractSerializer.MaxItemsInObjectGraph"></see> property.</exception>
277 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject(System.Xml.XmlWriter,System.Object)">
278 <summary>Serializes an object to XML that may be mapped to JavaScript Object Notation (JSON). Writes all the object data, including the starting XML element, content, and closing element, with an <see cref="T:System.Xml.XmlWriter"></see>.</summary>
279 <param name="writer">The <see cref="T:System.Xml.XmlWriter"></see> used to write the XML document to map to JSON.</param>
280 <param name="graph">The object that contains the data to write.</param>
281 <exception cref="T:System.Runtime.Serialization.InvalidDataContractException">The type being serialized does not conform to data contract rules. For example, the <see cref="System.Runtime.Serialization.DataContractAttribute"></see> attribute has not been applied to the type.</exception>
282 <exception cref="T:System.Runtime.Serialization.SerializationException">There is a problem with the instance being written.</exception>
283 <exception cref="T:System.ServiceModel.QuotaExceededException">The maximum number of objects to serialize has been exceeded. Check the <see cref="System.Runtime.Serialization.DataContractSerializer.MaxItemsInObjectGraph"></see> property.</exception>
285 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObjectContent(System.Xml.XmlDictionaryWriter,System.Object)">
286 <summary>Writes the XML content that can be mapped to JavaScript Object Notation (JSON) using an <see cref="T:System.Xml.XmlDictionaryWriter"></see>.</summary>
287 <param name="writer">The <see cref="T:System.Xml.XmlDictionaryWriter"></see> to write to.</param>
288 <param name="graph">The object to write.</param>
289 <exception cref="T:System.Runtime.Serialization.InvalidDataContractException">The type being serialized does not conform to data contract rules. For example, the <see cref="System.Runtime.Serialization.DataContractAttribute"></see> attribute has not been applied to the type.</exception>
290 <exception cref="T:System.Runtime.Serialization.SerializationException">There is a problem with the instance being written.</exception>
291 <exception cref="T:System.ServiceModel.QuotaExceededException">The maximum number of objects to serialize has been exceeded. Check the <see cref="System.Runtime.Serialization.DataContractSerializer.MaxItemsInObjectGraph"></see> property.</exception>
293 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObjectContent(System.Xml.XmlWriter,System.Object)">
294 <summary>Writes the XML content that can be mapped to JavaScript Object Notation (JSON) using an <see cref="T:System.Xml.XmlWriter"></see>.</summary>
295 <param name="writer">The <see cref="T:System.Xml.XmlWriter"></see> used to write to.</param>
296 <param name="graph">The object to write.</param>
297 <exception cref="T:System.Runtime.Serialization.InvalidDataContractException">The type being serialized does not conform to data contract rules. For example, the <see cref="System.Runtime.Serialization.DataContractAttribute"></see> attribute has not been applied to the type.</exception>
298 <exception cref="T:System.Runtime.Serialization.SerializationException">There is a problem with the instance being written.</exception>
299 <exception cref="T:System.ServiceModel.QuotaExceededException">The maximum number of objects to serialize has been exceeded. Check the <see cref="System.Runtime.Serialization.DataContractSerializer.MaxItemsInObjectGraph"></see> property.</exception>
301 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteStartObject(System.Xml.XmlDictionaryWriter,System.Object)">
302 <summary>Writes the opening XML element for serializing an object to XML that can be mapped to JavaScript Object Notation (JSON) using an <see cref="T:System.Xml.XmlDictionaryWriter"></see>.</summary>
303 <param name="writer">The <see cref="T:System.Xml.XmlDictionaryWriter"></see> used to write the XML start element.</param>
304 <param name="graph">The object to write.</param>
306 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteStartObject(System.Xml.XmlWriter,System.Object)">
307 <summary>Writes the opening XML element for serializing an object to XML that can be mapped to JavaScript Object Notation (JSON) using an <see cref="T:System.Xml.XmlWriter"></see>.</summary>
308 <param name="writer">The <see cref="T:System.Xml.XmlWriter"></see> used to write the XML start element.</param>
309 <param name="graph">The object to write.</param>
311 <member name="T:System.Runtime.Serialization.EmitTypeInformation">
312 <summary>Specifies how often to emit type information.</summary>
314 <member name="F:System.Runtime.Serialization.EmitTypeInformation.Always">
315 <summary>Always to emit type information.</summary>
318 <member name="F:System.Runtime.Serialization.EmitTypeInformation.AsNeeded">
319 <summary>As needed emit type information.</summary>
322 <member name="F:System.Runtime.Serialization.EmitTypeInformation.Never">
323 <summary>Never to emit type information.</summary>
326 <member name="T:System.Runtime.Serialization.DateTimeFormat">
327 <summary>Specifies date-time format options.</summary>
329 <member name="M:System.Runtime.Serialization.DateTimeFormat.#ctor(System.String)">
330 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.DateTimeFormat"></see> class using the format string.</summary>
331 <param name="formatString">The format string.</param>
333 <member name="M:System.Runtime.Serialization.DateTimeFormat.#ctor(System.String,System.IFormatProvider)">
334 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.DateTimeFormat"></see> class using the format string and format provider.</summary>
335 <param name="formatString">The format sting.</param>
336 <param name="formatProvider">The format provider.</param>
338 <member name="P:System.Runtime.Serialization.DateTimeFormat.DateTimeStyles">
339 <summary>Gets or sets the formatting options that customize string parsing for some date and time parsing methods.</summary>
340 <returns>The formatting options that customize string parsing for some date and time parsing methods.</returns>
342 <member name="P:System.Runtime.Serialization.DateTimeFormat.FormatProvider">
343 <summary>Gets an object that controls formatting.</summary>
346 <member name="P:System.Runtime.Serialization.DateTimeFormat.FormatString">
347 <summary>Gets the format strings to control the formatting produced when a date or time is represented as a string.</summary>
348 <returns>The format strings to control the formatting produced when a date or time is represented as a string.</returns>