1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Runtime.Serialization.Json</name>
6 <member name="T:System.Runtime.Serialization.Json.DataContractJsonSerializer">
7 <summary>Serializes objects to the JavaScript Object Notation (JSON) and deserializes JSON data to objects. This class cannot be inherited.</summary>
9 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type)">
10 <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>
11 <param name="type">The type of the instances that is serialized or deserialized.</param>
13 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.Collections.Generic.IEnumerable{System.Type})">
14 <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>
15 <param name="type">The type of the instances that are serialized or deserialized.</param>
16 <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>
18 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.Runtime.Serialization.Json.DataContractJsonSerializerSettings)">
19 <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>
20 <param name="type">The type of the instances that is serialized or deserialized.</param>
21 <param name="settings">The serializer settings for the JSON serializer.</param>
23 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.String)">
24 <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>
25 <param name="type">The type of the instances that is serialized or deserialized.</param>
26 <param name="rootName">The name of the XML element that encloses the content to serialize or deserialize.</param>
28 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.Xml.XmlDictionaryString)">
29 <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>
30 <param name="type">The type of the instances that is serialized or deserialized.</param>
31 <param name="rootName">An <see cref="T:System.Xml.XmlDictionaryString"></see> that contains the root element name of the content.</param>
33 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.String,System.Collections.Generic.IEnumerable{System.Type})">
34 <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>
35 <param name="type">The type of the instances that is serialized or deserialized.</param>
36 <param name="rootName">The name of the XML element that encloses the content to serialize or deserialize. The default is &quot;root&quot;.</param>
37 <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>
39 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.#ctor(System.Type,System.Xml.XmlDictionaryString,System.Collections.Generic.IEnumerable{System.Type})">
40 <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>
41 <param name="type">The type of the instances that is serialized or deserialized.</param>
42 <param name="rootName">An <see cref="T:System.Xml.XmlDictionaryString"></see> that contains the root element name of the content.</param>
43 <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>
45 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.DateTimeFormat">
46 <summary>Gets the format of the date and time type items in object graph.</summary>
47 <returns>The format of the date and time type items in object graph.</returns>
49 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.EmitTypeInformation">
50 <summary>Gets or sets the data contract JSON serializer settings to emit type information.</summary>
51 <returns>The data contract JSON serializer settings to emit type information.</returns>
53 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.IgnoreExtensionDataObject">
54 <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>
55 <returns>true to ignore unknown data and <see cref="System.Runtime.Serialization.IExtensibleDataObject"></see>; otherwise, false.</returns>
57 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.IsStartObject(System.Xml.XmlDictionaryReader)">
58 <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>
59 <param name="reader">The <see cref="T:System.Xml.XmlDictionaryReader"></see> used to read the XML stream mapped from JSON.</param>
60 <returns>true if the reader is positioned correctly; otherwise, false.</returns>
62 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.IsStartObject(System.Xml.XmlReader)">
63 <summary>Determines whether the <see cref="T:System.Xml.XmlReader"></see> is positioned on an object that can be deserialized.</summary>
64 <param name="reader">The <see cref="T:System.Xml.XmlReader"></see> used to read the XML stream.</param>
65 <returns>true if the reader is positioned correctly; otherwise, false.</returns>
67 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.KnownTypes">
68 <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>
69 <returns>A <see cref="System.Collections.ObjectModel.ReadOnlyCollection`1"></see> that contains the expected types passed in as known types to the <see cref="System.Runtime.Serialization.Json.DataContractJsonSerializer"></see> constructor.</returns>
71 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.MaxItemsInObjectGraph">
72 <summary>Gets the maximum number of items in an object graph that the serializer serializes or deserializes in one read or write call.</summary>
73 <returns>The maximum number of items to serialize or deserialize.</returns>
74 <exception cref="T:System.ArgumentOutOfRangeException">The number of items exceeds the maximum value.</exception>
76 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(System.IO.Stream)">
77 <summary>Reads a document stream in the JSON (JavaScript Object Notation) format and returns the deserialized object.</summary>
78 <param name="stream">The <see cref="T:System.IO.Stream"></see> to be read.</param>
79 <returns>The deserialized object.</returns>
81 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(System.Xml.XmlDictionaryReader)">
82 <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>
83 <param name="reader">An <see cref="T:System.Xml.XmlDictionaryReader"></see> used to read the XML document mapped from JSON.</param>
84 <returns>The deserialized object.</returns>
86 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(System.Xml.XmlReader)">
87 <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>
88 <param name="reader">An <see cref="T:System.Xml.XmlReader"></see> used to read the XML document mapped from JSON.</param>
89 <returns>The deserialized object.</returns>
91 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(System.Xml.XmlDictionaryReader,System.Boolean)">
92 <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>
93 <param name="reader">An <see cref="T:System.Xml.XmlDictionaryReader"></see> used to read the XML document mapped from JSON.</param>
94 <param name="verifyObjectName">true to check whether the enclosing XML element name and namespace correspond to the expected name and namespace; otherwise, false to skip the verification. The default is true.</param>
95 <returns>The deserialized object.</returns>
97 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(System.Xml.XmlReader,System.Boolean)">
98 <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>
99 <param name="reader">An <see cref="T:System.Xml.XmlReader"></see> used to read the XML document mapped from JSON.</param>
100 <param name="verifyObjectName">true to check whether the enclosing XML element name and namespace correspond to the expected name and namespace; otherwise, false, which skips the verification. The default is true.</param>
101 <returns>The deserialized object.</returns>
103 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.SerializeReadOnlyTypes">
104 <summary>Gets or sets a value that specifies whether to serialize read only types.</summary>
105 <returns>true to serialize read only types; otherwise false.</returns>
107 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializer.UseSimpleDictionaryFormat">
108 <summary>Gets or sets a value that specifies whether to use a simple dictionary format.</summary>
109 <returns>true to use a simple dictionary format; otherwise, false.</returns>
111 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteEndObject(System.Xml.XmlWriter)">
112 <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>
113 <param name="writer">An <see cref="T:System.Xml.XmlWriter"></see> used to write the XML document mapped to JSON.</param>
115 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteEndObject(System.Xml.XmlDictionaryWriter)">
116 <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>
117 <param name="writer">An <see cref="T:System.Xml.XmlDictionaryWriter"></see> used to write the XML document to map to JSON.</param>
119 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject(System.IO.Stream,System.Object)">
120 <summary>Serializes a specified object to JavaScript Object Notation (JSON) data and writes the resulting JSON to a stream.</summary>
121 <param name="stream">The <see cref="T:System.IO.Stream"></see> that is written to.</param>
122 <param name="graph">The object that contains the data to write to the stream.</param>
123 <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>
124 <exception cref="T:System.Runtime.Serialization.SerializationException">There is a problem with the instance being written.</exception>
125 <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>
127 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject(System.Xml.XmlDictionaryWriter,System.Object)">
128 <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>
129 <param name="writer">The <see cref="T:System.Xml.XmlDictionaryWriter"></see> used to write the XML document or stream to map to JSON.</param>
130 <param name="graph">The object that contains the data to write.</param>
131 <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>
132 <exception cref="T:System.Runtime.Serialization.SerializationException">There is a problem with the instance being written.</exception>
133 <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>
135 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject(System.Xml.XmlWriter,System.Object)">
136 <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>
137 <param name="writer">The <see cref="T:System.Xml.XmlWriter"></see> used to write the XML document to map to JSON.</param>
138 <param name="graph">The object that contains the data to write.</param>
139 <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>
140 <exception cref="T:System.Runtime.Serialization.SerializationException">There is a problem with the instance being written.</exception>
141 <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>
143 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObjectContent(System.Xml.XmlDictionaryWriter,System.Object)">
144 <summary>Writes the XML content that can be mapped to JavaScript Object Notation (JSON) using an <see cref="T:System.Xml.XmlDictionaryWriter"></see>.</summary>
145 <param name="writer">The <see cref="T:System.Xml.XmlDictionaryWriter"></see> to write to.</param>
146 <param name="graph">The object to write.</param>
147 <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>
148 <exception cref="T:System.Runtime.Serialization.SerializationException">There is a problem with the instance being written.</exception>
149 <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>
151 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObjectContent(System.Xml.XmlWriter,System.Object)">
152 <summary>Writes the XML content that can be mapped to JavaScript Object Notation (JSON) using an <see cref="T:System.Xml.XmlWriter"></see>.</summary>
153 <param name="writer">The <see cref="T:System.Xml.XmlWriter"></see> used to write to.</param>
154 <param name="graph">The object to write.</param>
155 <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>
156 <exception cref="T:System.Runtime.Serialization.SerializationException">There is a problem with the instance being written.</exception>
157 <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>
159 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteStartObject(System.Xml.XmlDictionaryWriter,System.Object)">
160 <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>
161 <param name="writer">The <see cref="T:System.Xml.XmlDictionaryWriter"></see> used to write the XML start element.</param>
162 <param name="graph">The object to write.</param>
164 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteStartObject(System.Xml.XmlWriter,System.Object)">
165 <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>
166 <param name="writer">The <see cref="T:System.Xml.XmlWriter"></see> used to write the XML start element.</param>
167 <param name="graph">The object to write.</param>
169 <member name="T:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings">
170 <summary>Specifies <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializer"></see> settings.</summary>
172 <member name="M:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.#ctor">
173 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings"></see> class.</summary>
175 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.DateTimeFormat">
176 <summary>Gets or sets a DateTimeFormat that defines the culturally appropriate format of displaying dates and times.</summary>
177 <returns>The DateTimeFormat that defines the culturally appropriate format of displaying dates and times.</returns>
179 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.EmitTypeInformation">
180 <summary>Gets or sets the data contract JSON serializer settings to emit type information.</summary>
181 <returns>The data contract JSON serializer settings to emit type information.</returns>
183 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.IgnoreExtensionDataObject">
184 <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>
185 <returns>True to ignore data supplied by an extension of the class when the class is being serialized or deserialized; otherwise, false.</returns>
187 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.KnownTypes">
188 <summary>Gets or sets a collection of types that may be present in the object graph serialized using this instance the DataContractJsonSerializerSettings.</summary>
189 <returns>A collection of types that may be present in the object graph serialized using this instance the DataContractJsonSerializerSettings.</returns>
191 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.MaxItemsInObjectGraph">
192 <summary>Gets or sets the maximum number of items in an object graph to serialize or deserialize.</summary>
193 <returns>The maximum number of items in an object graph to serialize or deserialize.</returns>
195 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.RootName">
196 <summary>Gets or sets the root name of the selected object.</summary>
197 <returns>The root name of the selected object.</returns>
199 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.SerializeReadOnlyTypes">
200 <summary>Gets or sets a value that specifies whether to serialize read only types.</summary>
201 <returns>True to serialize read only types; otherwise false.</returns>
203 <member name="P:System.Runtime.Serialization.Json.DataContractJsonSerializerSettings.UseSimpleDictionaryFormat">
204 <summary>Gets or sets a value that specifies whether to use a simple dictionary format.</summary>
205 <returns>True to use a simple dictionary format; otherwise, false.</returns>
207 <member name="T:System.Runtime.Serialization.Json.IXmlJsonReaderInitializer">
208 <summary>Specifies the interface for initializing a JavaScript Object Notation (JSON) reader when reusing them to read from a particular stream or buffer.</summary>
210 <member name="M:System.Runtime.Serialization.Json.IXmlJsonReaderInitializer.SetInput(System.IO.Stream,System.Text.Encoding,System.Xml.XmlDictionaryReaderQuotas,System.Xml.OnXmlDictionaryReaderClose)">
211 <summary>Reinitializes a JavaScript Object Notation (JSON) enabled reader to a specified stream that contains JSON-encoded data.</summary>
212 <param name="stream">The input <see cref="T:System.IO.Stream"></see> from which to read.</param>
213 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> used by the reader.</param>
214 <param name="quotas"><see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> to apply.</param>
215 <param name="onClose">Delegate to call when the reader is closed.</param>
217 <member name="M:System.Runtime.Serialization.Json.IXmlJsonReaderInitializer.SetInput(System.Byte[],System.Int32,System.Int32,System.Text.Encoding,System.Xml.XmlDictionaryReaderQuotas,System.Xml.OnXmlDictionaryReaderClose)">
218 <summary>Reinitializes a JavaScript Object Notation (JSON) enabled reader to a specified buffer that contains JSON-encoded data.</summary>
219 <param name="buffer">The input <see cref="T:System.Byte"></see> buffer array from which to read.</param>
220 <param name="offset">The starting position from which to read in buffer.</param>
221 <param name="count">The number of bytes that can be read from buffer.</param>
222 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> used by the reader.</param>
223 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> to apply.</param>
224 <param name="onClose">The <see cref="T:System.Xml.OnXmlDictionaryReaderClose"></see> delegate to call when the reader is closed.</param>
226 <member name="T:System.Runtime.Serialization.Json.IXmlJsonWriterInitializer">
227 <summary>Specifies the interface for initializing a JavaScript Object Notation (JSON) writer when reusing them to write to a particular output stream.</summary>
229 <member name="M:System.Runtime.Serialization.Json.IXmlJsonWriterInitializer.SetOutput(System.IO.Stream,System.Text.Encoding,System.Boolean)">
230 <summary>Initializes (or reinitializes) a JavaScript Object Notation (JSON) writer to a specified output stream with specified character encoding.</summary>
231 <param name="stream">The output <see cref="T:System.IO.Stream"></see> to which the writer writes.</param>
232 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> that specifies the character encoding of the output stream.</param>
233 <param name="ownsStream">If true, the output stream is closed by the writer when done; otherwise false.</param>
235 <member name="T:System.Runtime.Serialization.Json.JsonReaderWriterFactory">
236 <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>
238 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonReader(System.Byte[],System.Xml.XmlDictionaryReaderQuotas)">
239 <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>
240 <param name="buffer">The input <see cref="T:System.Byte"></see> buffer array from which to read.</param>
241 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> used to prevent Denial of Service attacks when reading untrusted data.</param>
242 <returns>An <see cref="System.Xml.XmlDictionaryReader"></see> that can process JavaScript Object Notation (JSON) data.</returns>
244 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonReader(System.IO.Stream,System.Xml.XmlDictionaryReaderQuotas)">
245 <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>
246 <param name="stream">The input <see cref="T:System.IO.Stream"></see> from which to read.</param>
247 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> used to prevent Denial of Service attacks when reading untrusted data.</param>
248 <returns>An <see cref="System.Xml.XmlDictionaryReader"></see> that can read JavaScript Object Notation (JSON).</returns>
250 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonReader(System.Byte[],System.Int32,System.Int32,System.Xml.XmlDictionaryReaderQuotas)">
251 <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>
252 <param name="buffer">The input <see cref="T:System.Byte"></see> buffer array from which to read.</param>
253 <param name="offset">Starting position from which to read in buffer.</param>
254 <param name="count">Number of bytes that can be read from buffer.</param>
255 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> used to prevent Denial of Service attacks when reading untrusted data.</param>
256 <returns>An <see cref="System.Xml.XmlDictionaryReader"></see> that can read JavaScript Object Notation (JSON).</returns>
258 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonReader(System.IO.Stream,System.Text.Encoding,System.Xml.XmlDictionaryReaderQuotas,System.Xml.OnXmlDictionaryReaderClose)">
259 <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>
260 <param name="stream">The input <see cref="T:System.IO.Stream"></see> from which to read.</param>
261 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> that specifies the character encoding used by the reader. If null is specified as the value, the reader attempts to auto-detect the encoding.</param>
262 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> used to prevent Denial of Service attacks when reading untrusted data.</param>
263 <param name="onClose">The <see cref="T:System.Xml.OnXmlDictionaryReaderClose"></see> delegate to call when the reader is closed.</param>
264 <returns>An <see cref="System.Xml.XmlDictionaryReader"></see> that can read JavaScript Object Notation (JSON).</returns>
266 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonReader(System.Byte[],System.Int32,System.Int32,System.Text.Encoding,System.Xml.XmlDictionaryReaderQuotas,System.Xml.OnXmlDictionaryReaderClose)">
267 <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>
268 <param name="buffer">The input <see cref="T:System.Byte"></see> buffer array from which to read.</param>
269 <param name="offset">Starting position from which to read in buffer.</param>
270 <param name="count">Number of bytes that can be read from buffer.</param>
271 <param name="encoding">The <see cref="T:System.Text.Encoding"></see> that specifies the character encoding used by the reader. If null is specified as the value, the reader attempts to auto-detect the encoding.</param>
272 <param name="quotas">The <see cref="T:System.Xml.XmlDictionaryReaderQuotas"></see> used to prevent Denial of Service attacks when reading untrusted data.</param>
273 <param name="onClose">The <see cref="T:System.Xml.OnXmlDictionaryReaderClose"></see> delegate to call when the reader is closed. The default value is null.</param>
274 <returns>An <see cref="System.Xml.XmlDictionaryReader"></see> that can read JavaScript Object Notation (JSON).</returns>
276 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonWriter(System.IO.Stream)">
277 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to a stream.</summary>
278 <param name="stream">The output <see cref="T:System.IO.Stream"></see> for the JSON writer.</param>
279 <returns>An <see cref="System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to the stream based on an XML Infoset.</returns>
281 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonWriter(System.IO.Stream,System.Text.Encoding)">
282 <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>
283 <param name="stream">The output <see cref="T:System.IO.Stream"></see> for the JSON writer.</param>
284 <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>
285 <returns>An <see cref="System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to the stream based on an XML Infoset.</returns>
287 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonWriter(System.IO.Stream,System.Text.Encoding,System.Boolean)">
288 <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>
289 <param name="stream">The output <see cref="T:System.IO.Stream"></see> for the JSON writer.</param>
290 <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>
291 <param name="ownsStream">If true, the output stream is closed by the writer when done; otherwise false. The default value is true.</param>
292 <returns>An <see cref="System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to the stream based on an XML Infoset.</returns>
294 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonWriter(System.IO.Stream,System.Text.Encoding,System.Boolean,System.Boolean)">
295 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to a stream with a specified character.</summary>
296 <param name="stream">The output <see cref="T:System.IO.Stream"></see> for the JSON writer.</param>
297 <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>
298 <param name="ownsStream">If true, the output stream is closed by the writer when done; otherwise false. The default value is true.</param>
299 <param name="indent">If true, the output uses multiline format, indenting each level properly; otherwise, false.</param>
300 <returns>An <see cref="System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to the stream based on an XML Infoset.</returns>
302 <member name="M:System.Runtime.Serialization.Json.JsonReaderWriterFactory.CreateJsonWriter(System.IO.Stream,System.Text.Encoding,System.Boolean,System.Boolean,System.String)">
303 <summary>Creates an <see cref="T:System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to a stream with a specified character.</summary>
304 <param name="stream">The output <see cref="T:System.IO.Stream"></see> for the JSON writer.</param>
305 <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>
306 <param name="ownsStream">If true, the output stream is closed by the writer when done; otherwise false. The default value is true.</param>
307 <param name="indent">If true, the output uses multiline format, indenting each level properly; otherwise, false.</param>
308 <param name="indentChars">The string used to indent each level.</param>
309 <returns>An <see cref="System.Xml.XmlDictionaryWriter"></see> that writes data encoded with JSON to the stream based on an XML Infoset.</returns>
311 <member name="T:System.Runtime.Serialization.DateTimeFormat">
312 <summary>Specifies date-time format options.</summary>
314 <member name="M:System.Runtime.Serialization.DateTimeFormat.#ctor(System.String)">
315 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.DateTimeFormat"></see> class using the format string.</summary>
316 <param name="formatString">The format string.</param>
318 <member name="M:System.Runtime.Serialization.DateTimeFormat.#ctor(System.String,System.IFormatProvider)">
319 <summary>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.DateTimeFormat"></see> class using the format string and format provider.</summary>
320 <param name="formatString">The format sting.</param>
321 <param name="formatProvider">The format provider.</param>
323 <member name="P:System.Runtime.Serialization.DateTimeFormat.DateTimeStyles">
324 <summary>Gets or sets the formatting options that customize string parsing for some date and time parsing methods.</summary>
325 <returns>The formatting options that customize string parsing for some date and time parsing methods.</returns>
327 <member name="P:System.Runtime.Serialization.DateTimeFormat.FormatProvider">
328 <summary>Gets an object that controls formatting.</summary>
331 <member name="P:System.Runtime.Serialization.DateTimeFormat.FormatString">
332 <summary>Gets the format strings to control the formatting produced when a date or time is represented as a string.</summary>
333 <returns>The format strings to control the formatting produced when a date or time is represented as a string.</returns>
335 <member name="T:System.Runtime.Serialization.EmitTypeInformation">
336 <summary>Specifies how often to emit type information.</summary>
338 <member name="F:System.Runtime.Serialization.EmitTypeInformation.Always">
339 <summary>Always to emit type information.</summary>
342 <member name="F:System.Runtime.Serialization.EmitTypeInformation.AsNeeded">
343 <summary>As needed emit type information.</summary>
346 <member name="F:System.Runtime.Serialization.EmitTypeInformation.Never">
347 <summary>Never to emit type information.</summary>