4 <name>Newtonsoft.Json
</name>
7 <member name=
"T:Newtonsoft.Json.JsonWriterException">
9 The exception thrown when an error occurs while reading Json text.
12 <member name=
"M:Newtonsoft.Json.JsonWriterException.#ctor">
14 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JsonWriterException"/> class.
17 <member name=
"M:Newtonsoft.Json.JsonWriterException.#ctor(System.String)">
19 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JsonWriterException"/> class
20 with a specified error message.
22 <param name=
"message">The error message that explains the reason for the exception.
</param>
24 <member name=
"M:Newtonsoft.Json.JsonWriterException.#ctor(System.String,System.Exception)">
26 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JsonWriterException"/> class
27 with a specified error message and a reference to the inner exception that is the cause of this exception.
29 <param name=
"message">The error message that explains the reason for the exception.
</param>
30 <param name=
"innerException">The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
</param>
32 <member name=
"T:Newtonsoft.Json.ReferenceLoopHandling">
34 Specifies reference loop handling options for the
<see cref=
"T:Newtonsoft.Json.JsonWriter"/>.
37 <member name=
"F:Newtonsoft.Json.ReferenceLoopHandling.Error">
39 Throw a
<see cref=
"T:Newtonsoft.Json.JsonSerializationException"/> when a loop is encountered.
42 <member name=
"F:Newtonsoft.Json.ReferenceLoopHandling.Ignore">
44 Ignore loop references and do not serialize.
47 <member name=
"F:Newtonsoft.Json.ReferenceLoopHandling.Serialize">
49 Serialize loop references.
52 <member name=
"T:Newtonsoft.Json.JsonSerializer">
54 Serializes and deserializes objects into and from the Json format.
55 The
<see cref=
"T:Newtonsoft.Json.JsonSerializer"/> enables you to control how objects are encoded into Json.
58 <member name=
"M:Newtonsoft.Json.JsonSerializer.#ctor">
60 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JsonSerializer"/> class.
63 <member name=
"M:Newtonsoft.Json.JsonSerializer.Deserialize(Newtonsoft.Json.JsonReader)">
65 Deserializes the Json structure contained by the specified
<see cref=
"T:Newtonsoft.Json.JsonReader"/>.
67 <param name=
"reader">The
<see cref=
"T:Newtonsoft.Json.JsonReader"/> that contains the Json structure to deserialize.
</param>
68 <returns>The
<see cref=
"T:System.Object"/> being deserialized.
</returns>
70 <member name=
"M:Newtonsoft.Json.JsonSerializer.Deserialize(Newtonsoft.Json.JsonReader,System.Type)">
72 Deserializes the Json structure contained by the specified
<see cref=
"T:Newtonsoft.Json.JsonReader"/>
73 into an instance of the specified type.
75 <param name=
"reader">The type of object to create.
</param>
76 <param name=
"objectType">The
<see cref=
"T:System.Type"/> of object being deserialized.
</param>
77 <returns>The instance of
<paramref name=
"objectType"/> being deserialized.
</returns>
79 <member name=
"M:Newtonsoft.Json.JsonSerializer.Serialize(System.IO.TextWriter,System.Object)">
81 Serializes the specified
<see cref=
"T:System.Object"/> and writes the Json structure
82 to a
<c>Stream
</c> using the specified
<see cref=
"T:System.IO.TextWriter"/>.
84 <param name=
"textWriter">The
<see cref=
"T:System.IO.TextWriter"/> used to write the Json structure.
</param>
85 <param name=
"value">The
<see cref=
"T:System.Object"/> to serialize.
</param>
87 <member name=
"M:Newtonsoft.Json.JsonSerializer.Serialize(Newtonsoft.Json.JsonWriter,System.Object)">
89 Serializes the specified
<see cref=
"T:System.Object"/> and writes the Json structure
90 to a
<c>Stream
</c> using the specified
<see cref=
"T:Newtonsoft.Json.JsonWriter"/>.
92 <param name=
"jsonWriter">The
<see cref=
"T:Newtonsoft.Json.JsonWriter"/> used to write the Json structure.
</param>
93 <param name=
"value">The
<see cref=
"T:System.Object"/> to serialize.
</param>
95 <member name=
"P:Newtonsoft.Json.JsonSerializer.ReferenceLoopHandling">
97 Get or set how reference loops (e.g. a class referencing itself) is handled.
100 <member name=
"T:Newtonsoft.Json.JsonToken">
102 Specifies the type of Json token.
105 <member name=
"F:Newtonsoft.Json.JsonToken.None">
107 This is returned by the
<see cref=
"T:Newtonsoft.Json.JsonReader"/> if a
<see cref=
"M:Newtonsoft.Json.JsonReader.Read"/> method has not been called.
110 <member name=
"F:Newtonsoft.Json.JsonToken.StartObject">
112 An object start token.
115 <member name=
"F:Newtonsoft.Json.JsonToken.StartArray">
117 An array start token.
120 <member name=
"F:Newtonsoft.Json.JsonToken.PropertyName">
122 An object property name.
125 <member name=
"F:Newtonsoft.Json.JsonToken.Comment">
130 <member name=
"F:Newtonsoft.Json.JsonToken.Integer">
135 <member name=
"F:Newtonsoft.Json.JsonToken.Float">
140 <member name=
"F:Newtonsoft.Json.JsonToken.String">
145 <member name=
"F:Newtonsoft.Json.JsonToken.Boolean">
150 <member name=
"F:Newtonsoft.Json.JsonToken.Null">
155 <member name=
"F:Newtonsoft.Json.JsonToken.Undefined">
160 <member name=
"F:Newtonsoft.Json.JsonToken.EndObject">
165 <member name=
"F:Newtonsoft.Json.JsonToken.EndArray">
170 <member name=
"F:Newtonsoft.Json.JsonToken.Constructor">
172 A JavaScript object constructor.
175 <member name=
"F:Newtonsoft.Json.JsonToken.Date">
180 <member name=
"T:Newtonsoft.Json.StringBuffer">
182 Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer.
185 <member name=
"T:Newtonsoft.Json.JavaScriptObject">
187 Represents a JavaScript object.
190 <member name=
"M:Newtonsoft.Json.JavaScriptObject.#ctor">
192 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JavaScriptObject"/> class.
195 <member name=
"M:Newtonsoft.Json.JavaScriptObject.#ctor(Newtonsoft.Json.JavaScriptObject)">
197 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JavaScriptObject"/> class that
198 contains values copied from the specified
<see cref=
"T:Newtonsoft.Json.JavaScriptObject"/>.
200 <param name=
"javaScriptObject">The
<see cref=
"T:Newtonsoft.Json.JavaScriptObject"/> whose elements are copied to the new object.
</param>
202 <member name=
"T:Newtonsoft.Json.WriteState">
204 Specifies the state of the
<see cref=
"T:Newtonsoft.Json.JsonWriter"/>.
207 <member name=
"F:Newtonsoft.Json.WriteState.Error">
209 An exception has been thrown, which has left the
<see cref=
"T:Newtonsoft.Json.JsonWriter"/> in an invalid state.
210 You may call the
<see cref=
"M:Newtonsoft.Json.JsonWriter.Close"/> method to put the
<see cref=
"T:Newtonsoft.Json.JsonWriter"/> in the
<c>Closed
</c> state.
211 Any other
<see cref=
"T:Newtonsoft.Json.JsonWriter"/> method calls results in an
<see cref=
"T:System.InvalidOperationException"/> being thrown.
214 <member name=
"F:Newtonsoft.Json.WriteState.Closed">
216 The
<see cref=
"M:Newtonsoft.Json.JsonWriter.Close"/> method has been called.
219 <member name=
"F:Newtonsoft.Json.WriteState.Object">
221 An object is being written.
224 <member name=
"F:Newtonsoft.Json.WriteState.Array">
226 A array is being written.
229 <member name=
"F:Newtonsoft.Json.WriteState.Property">
231 A property is being written.
234 <member name=
"F:Newtonsoft.Json.WriteState.Start">
236 A write method has not been called.
239 <member name=
"T:Newtonsoft.Json.Formatting">
241 Specifies formatting options for the
<see cref=
"T:Newtonsoft.Json.JsonWriter"/>.
244 <member name=
"F:Newtonsoft.Json.Formatting.None">
246 No special formatting is applied. This is the default.
249 <member name=
"F:Newtonsoft.Json.Formatting.Indented">
251 Causes child objects to be indented according to the
<see cref=
"P:Newtonsoft.Json.JsonWriter.Indentation"/> and
<see cref=
"P:Newtonsoft.Json.JsonWriter.IndentChar"/> settings.
254 <member name=
"T:Newtonsoft.Json.JsonWriter">
256 Represents a writer that provides a fast, non-cached, forward-only way of generating Json data.
259 <member name=
"M:Newtonsoft.Json.JsonWriter.#ctor(System.IO.TextWriter)">
261 Creates an instance of the
<c>JsonWriter
</c> class using the specified
<see cref=
"T:System.IO.TextWriter"/>.
263 <param name=
"textWriter">The
<c>TextWriter
</c> to write to.
</param>
265 <member name=
"M:Newtonsoft.Json.JsonWriter.Flush">
267 Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
270 <member name=
"M:Newtonsoft.Json.JsonWriter.Close">
272 Closes this stream and the underlying stream.
275 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteStartObject">
277 Writes the beginning of a Json object.
280 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteEndObject">
282 Writes the end of a Json object.
285 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteStartArray">
287 Writes the beginning of a Json array.
290 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteEndArray">
292 Writes the end of an array.
295 <member name=
"M:Newtonsoft.Json.JsonWriter.WritePropertyName(System.String)">
297 Writes the property name of a name/value pair on a Json object.
299 <param name=
"name"></param>
301 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteEnd">
303 Writes the end of the current Json object or array.
306 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteNull">
311 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteUndefined">
313 Writes an undefined value.
316 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteRaw(System.String)">
318 Writes raw JavaScript manually.
320 <param name=
"javaScript">The raw JavaScript to write.
</param>
322 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.String)">
324 Writes a
<see cref=
"T:System.String"/> value.
326 <param name=
"value">The
<see cref=
"T:System.String"/> value to write.
</param>
328 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.Int32)">
330 Writes a
<see cref=
"T:System.Int32"/> value.
332 <param name=
"value">The
<see cref=
"T:System.Int32"/> value to write.
</param>
334 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.UInt32)">
336 Writes a
<see cref=
"T:System.UInt32"/> value.
338 <param name=
"value">The
<see cref=
"T:System.UInt32"/> value to write.
</param>
340 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.Int64)">
342 Writes a
<see cref=
"T:System.Int64"/> value.
344 <param name=
"value">The
<see cref=
"T:System.Int64"/> value to write.
</param>
346 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.UInt64)">
348 Writes a
<see cref=
"T:System.UInt64"/> value.
350 <param name=
"value">The
<see cref=
"T:System.UInt64"/> value to write.
</param>
352 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.Single)">
354 Writes a
<see cref=
"T:System.Single"/> value.
356 <param name=
"value">The
<see cref=
"T:System.Single"/> value to write.
</param>
358 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.Double)">
360 Writes a
<see cref=
"T:System.Double"/> value.
362 <param name=
"value">The
<see cref=
"T:System.Double"/> value to write.
</param>
364 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.Boolean)">
366 Writes a
<see cref=
"T:System.Boolean"/> value.
368 <param name=
"value">The
<see cref=
"T:System.Boolean"/> value to write.
</param>
370 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.Int16)">
372 Writes a
<see cref=
"T:System.Int16"/> value.
374 <param name=
"value">The
<see cref=
"T:System.Int16"/> value to write.
</param>
376 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.UInt16)">
378 Writes a
<see cref=
"T:System.UInt16"/> value.
380 <param name=
"value">The
<see cref=
"T:System.UInt16"/> value to write.
</param>
382 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.Char)">
384 Writes a
<see cref=
"T:System.Char"/> value.
386 <param name=
"value">The
<see cref=
"T:System.Char"/> value to write.
</param>
388 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.Byte)">
390 Writes a
<see cref=
"T:System.Byte"/> value.
392 <param name=
"value">The
<see cref=
"T:System.Byte"/> value to write.
</param>
394 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.SByte)">
396 Writes a
<see cref=
"T:System.SByte"/> value.
398 <param name=
"value">The
<see cref=
"T:System.SByte"/> value to write.
</param>
400 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.Decimal)">
402 Writes a
<see cref=
"T:System.Decimal"/> value.
404 <param name=
"value">The
<see cref=
"T:System.Decimal"/> value to write.
</param>
406 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteValue(System.DateTime)">
408 Writes a
<see cref=
"T:System.DateTime"/> value.
410 <param name=
"value">The
<see cref=
"T:System.DateTime"/> value to write.
</param>
412 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteComment(System.String)">
414 Writes out a comment
<code>/*...*/
</code> containing the specified text.
416 <param name=
"text">Text to place inside the comment.
</param>
418 <member name=
"M:Newtonsoft.Json.JsonWriter.WriteWhitespace(System.String)">
420 Writes out the given white space.
422 <param name=
"ws">The string of white space characters.
</param>
424 <member name=
"P:Newtonsoft.Json.JsonWriter.WriteState">
426 Gets the state of the writer.
429 <member name=
"P:Newtonsoft.Json.JsonWriter.Formatting">
431 Indicates how the output is formatted.
434 <member name=
"P:Newtonsoft.Json.JsonWriter.Indentation">
436 Gets or sets how many IndentChars to write for each level in the hierarchy when
<paramref name=
"Formatting"/> is set to
<c>Formatting.Indented
</c>.
439 <member name=
"P:Newtonsoft.Json.JsonWriter.QuoteChar">
441 Gets or sets which character to use to quote attribute values.
444 <member name=
"P:Newtonsoft.Json.JsonWriter.IndentChar">
446 Gets or sets which character to use for indenting when
<paramref name=
"Formatting"/> is set to
<c>Formatting.Indented
</c>.
449 <member name=
"P:Newtonsoft.Json.JsonWriter.QuoteName">
451 Gets or sets a value indicating whether object names will be surrounded with quotes.
454 <member name=
"T:Newtonsoft.Json.JsonReader">
456 Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.
459 <member name=
"M:Newtonsoft.Json.JsonReader.#ctor(System.IO.TextReader)">
461 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JsonReader"/> class with the specified
<see cref=
"T:System.IO.TextReader"/>.
463 <param name=
"reader">The
<c>TextReader
</c> containing the XML data to read.
</param>
465 <member name=
"M:Newtonsoft.Json.JsonReader.Read">
467 Reads the next Json token from the stream.
471 <member name=
"M:Newtonsoft.Json.JsonReader.Close">
473 Changes the
<see cref=
"T:Newtonsoft.Json.JsonReader.State"/> to Closed.
476 <member name=
"P:Newtonsoft.Json.JsonReader.QuoteChar">
478 Gets the quotation mark character used to enclose the value of a string.
481 <member name=
"P:Newtonsoft.Json.JsonReader.TokenType">
483 Gets the type of the current Json token.
486 <member name=
"P:Newtonsoft.Json.JsonReader.Value">
488 Gets the text value of the current Json token.
491 <member name=
"P:Newtonsoft.Json.JsonReader.ValueType">
493 Gets The Common Language Runtime (CLR) type for the current Json token.
496 <member name=
"T:Newtonsoft.Json.JavaScriptConstructor">
498 Represents a JavaScript constructor.
501 <member name=
"M:Newtonsoft.Json.Converters.XmlNodeConverter.IsNamespaceAttribute(System.String,System.String@)">
503 Checks if the attributeName is a namespace attribute.
505 <param name=
"attributeName">Attribute name to test.
</param>
506 <param name=
"prefix">The attribute name prefix if it has one, otherwise an empty string.
</param>
507 <returns>True if attribute name is for a namespace attribute, otherwise false.
</returns>
509 <member name=
"M:Newtonsoft.Json.Utilities.ReflectionUtils.GetListItemType(System.Type)">
511 Gets the type of the typed list's items.
513 <param name=
"type">The type.
</param>
514 <returns>The type of the typed list's items.
</returns>
516 <member name=
"M:Newtonsoft.Json.Utilities.ReflectionUtils.ItemsUnitializedValue``1(System.Collections.Generic.IList{``0})">
518 Tests whether the list's items are their unitialized value.
520 <param name=
"list">The list.
</param>
521 <returns>Whether the list's items are their unitialized value
</returns>
523 <member name=
"M:Newtonsoft.Json.Utilities.ReflectionUtils.GetMemberUnderlyingType(System.Reflection.MemberInfo)">
525 Gets the member's underlying type.
527 <param name=
"member">The member.
</param>
528 <returns>The underlying type of the member.
</returns>
530 <member name=
"M:Newtonsoft.Json.Utilities.ReflectionUtils.IsIndexedProperty(System.Reflection.MemberInfo)">
532 Determines whether the member is an indexed property.
534 <param name=
"member">The member.
</param>
536 <c>true
</c> if the member is an indexed property; otherwise,
<c>false
</c>.
539 <member name=
"M:Newtonsoft.Json.Utilities.ReflectionUtils.IsIndexedProperty(System.Reflection.PropertyInfo)">
541 Determines whether the property is an indexed property.
543 <param name=
"property">The property.
</param>
545 <c>true
</c> if the property is an indexed property; otherwise,
<c>false
</c>.
548 <member name=
"M:Newtonsoft.Json.Utilities.ReflectionUtils.GetMemberValue(System.Reflection.MemberInfo,System.Object)">
550 Gets the member's value on the object.
552 <param name=
"member">The member.
</param>
553 <param name=
"target">The target object.
</param>
554 <returns>The member's value on the object.
</returns>
556 <member name=
"M:Newtonsoft.Json.Utilities.ReflectionUtils.SetMemberValue(System.Reflection.MemberInfo,System.Object,System.Object)">
558 Sets the member's value on the target object.
560 <param name=
"member">The member.
</param>
561 <param name=
"target">The target.
</param>
562 <param name=
"value">The value.
</param>
564 <member name=
"M:Newtonsoft.Json.Utilities.ReflectionUtils.CanReadMemberValue(System.Reflection.MemberInfo)">
566 Determines whether the specified MemberInfo can be read.
568 <param name=
"member">The MemberInfo to determine whether can be read.
</param>
570 <c>true
</c> if the specified MemberInfo can be read; otherwise,
<c>false
</c>.
573 <member name=
"M:Newtonsoft.Json.Utilities.ReflectionUtils.CanSetMemberValue(System.Reflection.MemberInfo)">
575 Determines whether the specified MemberInfo can be set.
577 <param name=
"member">The MemberInfo to determine whether can be set.
</param>
579 <c>true
</c> if the specified MemberInfo can be set; otherwise,
<c>false
</c>.
582 <member name=
"T:Newtonsoft.Json.JsonReaderException">
584 The exception thrown when an error occurs while reading Json text.
587 <member name=
"M:Newtonsoft.Json.JsonReaderException.#ctor">
589 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JsonReaderException"/> class.
592 <member name=
"M:Newtonsoft.Json.JsonReaderException.#ctor(System.String)">
594 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JsonReaderException"/> class
595 with a specified error message.
597 <param name=
"message">The error message that explains the reason for the exception.
</param>
599 <member name=
"M:Newtonsoft.Json.JsonReaderException.#ctor(System.String,System.Exception)">
601 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JsonReaderException"/> class
602 with a specified error message and a reference to the inner exception that is the cause of this exception.
604 <param name=
"message">The error message that explains the reason for the exception.
</param>
605 <param name=
"innerException">The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
</param>
607 <member name=
"T:Newtonsoft.Json.JavaScriptArray">
609 Represents a JavaScript array.
612 <member name=
"M:Newtonsoft.Json.JavaScriptArray.#ctor">
614 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JavaScriptObject"/> class.
617 <member name=
"M:Newtonsoft.Json.JavaScriptArray.#ctor(System.Collections.Generic.IEnumerable{System.Object})">
619 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JavaScriptArray"/> class that
620 contains elements copied from the specified collection.
622 <param name=
"collection">The collection whose elements are copied to the new array.
</param>
624 <member name=
"M:Newtonsoft.Json.JavaScriptArray.#ctor(System.Int32)">
626 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JavaScriptArray"/> class that
627 is empty and has the specified initial capacity.
629 <param name=
"capacity">The number of elements that the new array can initially store.
</param>
631 <member name=
"M:Newtonsoft.Json.Utilities.StringUtils.ContainsWhiteSpace(System.String)">
633 Determines whether the string contains white space.
635 <param name=
"s">The string to test for white space.
</param>
637 <c>true
</c> if the string contains white space; otherwise,
<c>false
</c>.
640 <member name=
"M:Newtonsoft.Json.Utilities.StringUtils.IsWhiteSpace(System.String)">
642 Determines whether the string is all white space. Empty string will return false.
644 <param name=
"s">The string to test whether it is all white space.
</param>
646 <c>true
</c> if the string is all white space; otherwise,
<c>false
</c>.
649 <member name=
"M:Newtonsoft.Json.Utilities.StringUtils.EnsureEndsWith(System.String,System.String)">
651 Ensures the target string ends with the specified string.
653 <param name=
"target">The target.
</param>
654 <param name=
"value">The value.
</param>
655 <returns>The target string with the value string at the end.
</returns>
657 <member name=
"M:Newtonsoft.Json.Utilities.StringUtils.IsNullOrEmpty(System.Data.SqlTypes.SqlString)">
659 Determines whether the SqlString is null or empty.
661 <param name=
"s">The string.
</param>
663 <c>true
</c> if the SqlString is null or empty; otherwise,
<c>false
</c>.
666 <member name=
"M:Newtonsoft.Json.Utilities.StringUtils.IfNotNullOrEmpty(System.String,System.Action{System.String})">
668 Perform an action if the string is not null or empty.
670 <param name=
"value">The value.
</param>
671 <param name=
"action">The action to perform.
</param>
673 <member name=
"M:Newtonsoft.Json.Utilities.StringUtils.Indent(System.String,System.Int32)">
675 Indents the specified string.
677 <param name=
"s">The string to indent.
</param>
678 <param name=
"indentation">The number of characters to indent by.
</param>
681 <member name=
"M:Newtonsoft.Json.Utilities.StringUtils.Indent(System.String,System.Int32,System.Char)">
683 Indents the specified string.
685 <param name=
"s">The string to indent.
</param>
686 <param name=
"indentation">The number of characters to indent by.
</param>
687 <param name=
"indentChar">The indent character.
</param>
690 <member name=
"M:Newtonsoft.Json.Utilities.StringUtils.NumberLines(System.String)">
694 <param name=
"s">The string to number.
</param>
697 <member name=
"M:Newtonsoft.Json.Utilities.StringUtils.NullEmptyString(System.String)">
699 Nulls an empty string.
701 <param name=
"s">The string.
</param>
702 <returns>Null if the string was null, otherwise the string unchanged.
</returns>
704 <member name=
"M:Newtonsoft.Json.Utilities.CollectionUtils.IsNullOrEmpty(System.Collections.ICollection)">
706 Determines whether the collection is null or empty.
708 <param name=
"collection">The collection.
</param>
710 <c>true
</c> if the collection is null or empty; otherwise,
<c>false
</c>.
713 <member name=
"M:Newtonsoft.Json.Utilities.CollectionUtils.IsNullOrEmpty``1(System.Collections.Generic.ICollection{``0})">
715 Determines whether the collection is null or empty.
717 <param name=
"collection">The collection.
</param>
719 <c>true
</c> if the collection is null or empty; otherwise,
<c>false
</c>.
722 <member name=
"M:Newtonsoft.Json.Utilities.CollectionUtils.IsNullOrEmptyOrDefault``1(System.Collections.Generic.IList{``0})">
724 Determines whether the collection is null, empty or its contents are uninitialized values.
726 <param name=
"list">The list.
</param>
728 <c>true
</c> if the collection is null or empty or its contents are uninitialized values; otherwise,
<c>false
</c>.
731 <member name=
"M:Newtonsoft.Json.Utilities.CollectionUtils.Slice``1(System.Collections.Generic.IList{``0},System.Nullable{System.Int32},System.Nullable{System.Int32})">
733 Makes a slice of the specified list in between the start and end indexes.
735 <param name=
"list">The list.
</param>
736 <param name=
"start">The start index.
</param>
737 <param name=
"end">The end index.
</param>
738 <returns>A slice of the list.
</returns>
740 <member name=
"M:Newtonsoft.Json.Utilities.CollectionUtils.Slice``1(System.Collections.Generic.IList{``0},System.Nullable{System.Int32},System.Nullable{System.Int32},System.Nullable{System.Int32})">
742 Makes a slice of the specified list in between the start and end indexes,
743 getting every so many items based upon the step.
745 <param name=
"list">The list.
</param>
746 <param name=
"start">The start index.
</param>
747 <param name=
"end">The end index.
</param>
748 <param name=
"step">The step.
</param>
749 <returns>A slice of the list.
</returns>
751 <member name=
"M:Newtonsoft.Json.Utilities.CollectionUtils.GroupBy``2(System.Collections.Generic.ICollection{``1},Newtonsoft.Json.Utilities.Func{``1,``0})">
753 Group the collection using a function which returns the key.
755 <param name=
"source">The source collection to group.
</param>
756 <param name=
"keySelector">The key selector.
</param>
757 <returns>A Dictionary with each key relating to a list of objects in a list grouped under it.
</returns>
759 <member name=
"M:Newtonsoft.Json.Utilities.CollectionUtils.AddRange``1(System.Collections.Generic.IList{``0},System.Collections.Generic.IEnumerable{``0})">
761 Adds the elements of the specified collection to the specified generic IList.
763 <param name=
"initial">The list to add to.
</param>
764 <param name=
"collection">The collection of elements to add.
</param>
766 <member name=
"T:Newtonsoft.Json.JsonSerializationException">
768 The exception thrown when an error occurs during Json serialization or deserialization.
771 <member name=
"M:Newtonsoft.Json.JsonSerializationException.#ctor">
773 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JsonSerializationException"/> class.
776 <member name=
"M:Newtonsoft.Json.JsonSerializationException.#ctor(System.String)">
778 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JsonSerializationException"/> class
779 with a specified error message.
781 <param name=
"message">The error message that explains the reason for the exception.
</param>
783 <member name=
"M:Newtonsoft.Json.JsonSerializationException.#ctor(System.String,System.Exception)">
785 Initializes a new instance of the
<see cref=
"T:Newtonsoft.Json.JsonSerializationException"/> class
786 with a specified error message and a reference to the inner exception that is the cause of this exception.
788 <param name=
"message">The error message that explains the reason for the exception.
</param>
789 <param name=
"innerException">The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
</param>
791 <member name=
"T:Newtonsoft.Json.JavaScriptConvert">
793 Provides methods for converting between common language runtime types and JavaScript types.
796 <member name=
"F:Newtonsoft.Json.JavaScriptConvert.True">
798 Represents JavaScript's boolean value true as a string. This field is read-only.
801 <member name=
"F:Newtonsoft.Json.JavaScriptConvert.False">
803 Represents JavaScript's boolean value false as a string. This field is read-only.
806 <member name=
"F:Newtonsoft.Json.JavaScriptConvert.Null">
808 Represents JavaScript's null as a string. This field is read-only.
811 <member name=
"F:Newtonsoft.Json.JavaScriptConvert.Undefined">
813 Represents JavaScript's undefined as a string. This field is read-only.
816 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.DateTime)">
818 Converts the
<see cref=
"T:System.DateTime"/> to it's JavaScript string representation.
820 <param name=
"value">The value to convert.
</param>
821 <returns>A Json string representation of the
<see cref=
"T:System.DateTime"/>.
</returns>
823 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Boolean)">
825 Converts the
<see cref=
"T:System.Boolean"/> to it's JavaScript string representation.
827 <param name=
"value">The value to convert.
</param>
828 <returns>A Json string representation of the
<see cref=
"T:System.Boolean"/>.
</returns>
830 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Char)">
832 Converts the
<see cref=
"T:System.Char"/> to it's JavaScript string representation.
834 <param name=
"value">The value to convert.
</param>
835 <returns>A Json string representation of the
<see cref=
"T:System.Char"/>.
</returns>
837 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Enum)">
839 Converts the
<see cref=
"T:System.Enum"/> to it's JavaScript string representation.
841 <param name=
"value">The value to convert.
</param>
842 <returns>A Json string representation of the
<see cref=
"T:System.Enum"/>.
</returns>
844 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Int32)">
846 Converts the
<see cref=
"T:System.Int32"/> to it's JavaScript string representation.
848 <param name=
"value">The value to convert.
</param>
849 <returns>A Json string representation of the
<see cref=
"T:System.Int32"/>.
</returns>
851 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Int16)">
853 Converts the
<see cref=
"T:System.Int16"/> to it's JavaScript string representation.
855 <param name=
"value">The value to convert.
</param>
856 <returns>A Json string representation of the
<see cref=
"T:System.Int16"/>.
</returns>
858 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.UInt16)">
860 Converts the
<see cref=
"T:System.UInt16"/> to it's JavaScript string representation.
862 <param name=
"value">The value to convert.
</param>
863 <returns>A Json string representation of the
<see cref=
"T:System.UInt16"/>.
</returns>
865 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.UInt32)">
867 Converts the
<see cref=
"T:System.UInt32"/> to it's JavaScript string representation.
869 <param name=
"value">The value to convert.
</param>
870 <returns>A Json string representation of the
<see cref=
"T:System.UInt32"/>.
</returns>
872 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Int64)">
874 Converts the
<see cref=
"T:System.Int64"/> to it's JavaScript string representation.
876 <param name=
"value">The value to convert.
</param>
877 <returns>A Json string representation of the
<see cref=
"T:System.Int64"/>.
</returns>
879 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.UInt64)">
881 Converts the
<see cref=
"T:System.UInt64"/> to it's JavaScript string representation.
883 <param name=
"value">The value to convert.
</param>
884 <returns>A Json string representation of the
<see cref=
"T:System.UInt64"/>.
</returns>
886 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Single)">
888 Converts the
<see cref=
"T:System.Single"/> to it's JavaScript string representation.
890 <param name=
"value">The value to convert.
</param>
891 <returns>A Json string representation of the
<see cref=
"T:System.Single"/>.
</returns>
893 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Double)">
895 Converts the
<see cref=
"T:System.Double"/> to it's JavaScript string representation.
897 <param name=
"value">The value to convert.
</param>
898 <returns>A Json string representation of the
<see cref=
"T:System.Double"/>.
</returns>
900 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Byte)">
902 Converts the
<see cref=
"T:System.Byte"/> to it's JavaScript string representation.
904 <param name=
"value">The value to convert.
</param>
905 <returns>A Json string representation of the
<see cref=
"T:System.Byte"/>.
</returns>
907 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.SByte)">
909 Converts the
<see cref=
"T:System.SByte"/> to it's JavaScript string representation.
911 <param name=
"value">The value to convert.
</param>
912 <returns>A Json string representation of the
<see cref=
"T:System.SByte"/>.
</returns>
914 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Decimal)">
916 Converts the
<see cref=
"T:System.Decimal"/> to it's JavaScript string representation.
918 <param name=
"value">The value to convert.
</param>
919 <returns>A Json string representation of the
<see cref=
"T:System.SByte"/>.
</returns>
921 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Guid)">
923 Converts the
<see cref=
"T:System.Guid"/> to it's JavaScript string representation.
925 <param name=
"value">The value to convert.
</param>
926 <returns>A Json string representation of the
<see cref=
"T:System.Guid"/>.
</returns>
928 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.String)">
930 Converts the
<see cref=
"T:System.String"/> to it's JavaScript string representation.
932 <param name=
"value">The value to convert.
</param>
933 <returns>A Json string representation of the
<see cref=
"T:System.String"/>.
</returns>
935 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.String,System.Char)">
937 Converts the
<see cref=
"T:System.String"/> to it's JavaScript string representation.
939 <param name=
"value">The value to convert.
</param>
940 <param name=
"delimter">The string delimiter character.
</param>
941 <returns>A Json string representation of the
<see cref=
"T:System.String"/>.
</returns>
943 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.ToString(System.Object)">
945 Converts the
<see cref=
"T:System.Object"/> to it's JavaScript string representation.
947 <param name=
"value">The value to convert.
</param>
948 <returns>A Json string representation of the
<see cref=
"T:System.Object"/>.
</returns>
950 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.SerializeObject(System.Object)">
952 Serializes the specified object to a Json object.
954 <param name=
"value">The object to serialize.
</param>
955 <returns>A Json string representation of the object.
</returns>
957 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.DeserializeObject(System.String)">
959 Deserializes the specified object to a Json object.
961 <param name=
"value">The object to deserialize.
</param>
962 <returns>The deserialized object from the Json string.
</returns>
964 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.DeserializeObject(System.String,System.Type)">
966 Deserializes the specified object to a Json object.
968 <param name=
"value">The object to deserialize.
</param>
969 <param name=
"type">The
<see cref=
"T:System.Type"/> of object being deserialized.
</param>
970 <returns>The deserialized object from the Json string.
</returns>
972 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.DeserializeObject``1(System.String)">
974 Deserializes the specified object to a Json object.
976 <typeparam name=
"T">The type of the object to deserialize.
</typeparam>
977 <param name=
"value">The object to deserialize.
</param>
978 <returns>The deserialized object from the Json string.
</returns>
980 <member name=
"M:Newtonsoft.Json.JavaScriptConvert.DeserializeObject``1(System.String,Newtonsoft.Json.JsonConverter[])">
982 Deserializes the specified object to a Json object.
984 <typeparam name=
"T">The type of the object to deserialize.
</typeparam>
985 <param name=
"value">The object to deserialize.
</param>
986 <param name=
"converters">Converters to use while deserializing.
</param>
987 <returns>The deserialized object from the Json string.
</returns>