diff --git a/xml/System.Text.Json.Serialization/JsonExtensionDataAttribute.xml b/xml/System.Text.Json.Serialization/JsonExtensionDataAttribute.xml index 9243ce481c7..8a728c608e8 100644 --- a/xml/System.Text.Json.Serialization/JsonExtensionDataAttribute.xml +++ b/xml/System.Text.Json.Serialization/JsonExtensionDataAttribute.xml @@ -21,8 +21,7 @@ When placed on a property of type , any properties that do not have a matching member are added to that dictionary during deserialization and written during serialization. - - type, an is thrown during the first serialization or deserialization of that type. - ]]> - + ]]> diff --git a/xml/System.Text.Json/JsonElement.xml b/xml/System.Text.Json/JsonElement.xml index 37874bc0eac..56c37a5c31b 100644 --- a/xml/System.Text.Json/JsonElement.xml +++ b/xml/System.Text.Json/JsonElement.xml @@ -195,15 +195,13 @@ This method does not parse the contents of a JSON string value. Gets the value of the element as a byte array. The value decoded as a byte array. - - - + ]]> This value's is not . The value is not encoded as base 64 text and hence cannot be decoded to bytes. @@ -881,15 +879,13 @@ For other types, the value of is if the entire token value is encoded as valid base 64 text and can be successfully decoded to bytes. otherwise. - - - + ]]> This value's is not . The parent has been disposed. diff --git a/xml/System.Text.Json/JsonEncodedText.xml b/xml/System.Text.Json/JsonEncodedText.xml index 5ed725e8704..b76c17a5450 100644 --- a/xml/System.Text.Json/JsonEncodedText.xml +++ b/xml/System.Text.Json/JsonEncodedText.xml @@ -25,15 +25,13 @@ Provides methods to transform UTF-8 or UTF-16 encoded text into a form that is suitable for JSON. - - - + ]]> @@ -160,15 +158,13 @@ This type can be used to cache and store known strings used for writing JSON ahe Determines whether this instance and a specified object, which must also be a instance, have the same value. if the current instance and are equal; otherwise, . - - - + ]]> @@ -198,15 +194,13 @@ If `obj` is `null`, the method returns `false`. Determines whether this instance and another specified instance have the same value. if this instance and have the same value; otherwise, . - - are treated as equal. - ]]> - + ]]> @@ -230,15 +224,13 @@ Default instances of are treated as equa Returns the hash code for this . The hash code for this instance. - - . - ]]> - + ]]> @@ -262,15 +254,13 @@ This method returns 0 on a default instance of Converts the value of this instance to a . The underlying UTF-16 encoded string. - - . - ]]> - + ]]> diff --git a/xml/System.Text.Json/JsonException.xml b/xml/System.Text.Json/JsonException.xml index 71c64e03afe..f204786f72b 100644 --- a/xml/System.Text.Json/JsonException.xml +++ b/xml/System.Text.Json/JsonException.xml @@ -128,15 +128,13 @@ The byte count within the current line (starting at 0) where the invalid JSON was encountered. Creates a new exception object to relay error information to the user. - - - + ]]> @@ -167,15 +165,13 @@ Note that `bytePositionInLine` counts the number of bytes (that is, UTF-8 code The exception that caused the current exception. Creates a new exception object to relay error information to the user that includes a specified inner exception. - - - + ]]> diff --git a/xml/System.Text.Json/JsonReaderOptions.xml b/xml/System.Text.Json/JsonReaderOptions.xml index 39aae419e34..263b2280275 100644 --- a/xml/System.Text.Json/JsonReaderOptions.xml +++ b/xml/System.Text.Json/JsonReaderOptions.xml @@ -42,15 +42,13 @@ Gets or sets a value that defines whether an extra comma at the end of a list of JSON values in an object or array is allowed (and ignored) within the JSON payload being read. if an exra comma is allowed; otherwise, . - - is thrown if a trailing comma is encountered. - ]]> - + ]]> @@ -113,15 +111,13 @@ By default, the reader throws a if it enco Gets or sets the maximum depth allowed when reading JSON, with the default (that is, 0) indicating a maximum depth of 64. The maximum depth allowed when reading JSON. - - . - ]]> - + ]]> The maximum depth is being set to a negative value. diff --git a/xml/System.Text.Json/JsonTokenType.xml b/xml/System.Text.Json/JsonTokenType.xml index 324dae20838..77ef6af16d9 100644 --- a/xml/System.Text.Json/JsonTokenType.xml +++ b/xml/System.Text.Json/JsonTokenType.xml @@ -116,15 +116,13 @@ There is no value (as distinct from ). - - . - ]]> - + ]]> diff --git a/xml/System.Text.Json/Utf8JsonReader.xml b/xml/System.Text.Json/Utf8JsonReader.xml index f019dc07084..01956fe5dbe 100644 --- a/xml/System.Text.Json/Utf8JsonReader.xml +++ b/xml/System.Text.Json/Utf8JsonReader.xml @@ -21,8 +21,7 @@ Provides a high-performance API for forward-only, read-only access to the UTF-8 encoded JSON text. - - If this is the first call to the constructor, pass in a default state. Otherwise, capture the state from the previous instance of the and pass that back. Initializes a new instance of the class. - - A struct that contains the reader state. On the first call to the constructor, it should reflect a default state; otherwise, it should capture the state from the previous instance instance of the and pass that back. Initializes a new instance of the class. - - Gets the depth of the current token. The depth of the current token. - - Gets the current snapshot of the state that must be captured by the caller and passed back in to the constructor with more data. To be added. - - Skips the children of the current JSON token. - - (originally, or after adva For all other token types, the reader does not move. After the next call to , the reader will be at the next value (when in an array), the next property name (when in an object), or the end array/object token. - ]]> - + ]]> The reader was given partial data with more data to follow (that is, is ). An invalid JSON token was encountered while skipping, according to the JSON RFC. @@ -919,8 +912,7 @@ The current depth exceeds the recursive limit set by the maximum depth.Gets the index that the last processed JSON token starts at (within the given UTF-8 encoded input text), skipping any white space. The starting index of the last processed JSON token within the given UTF-8 encoded input text. - - - + ]]> @@ -1406,8 +1397,7 @@ This method only parses values with hyphens and without any s if there was enough data for the children to be skipped successfully; otherwise, . - - contains the token value. To be added. - - will continue to use the original wri The binary data to be written as a base 64 encoded JSON string as part of the name/value pair. Writes the property name and raw bytes value (as a base 64 encoded JSON string) as part of a name/value pair of a JSON object. - - - + ]]> The specified property name is too large. Validation is enabled, and this method would result in writing invalid JSON. @@ -469,15 +467,13 @@ The property name is escaped before writing. The binary data to be written as a base 64 encoded JSON string as part of the name/value pair. Writes the property name and raw bytes value (as a base 64 encoded JSON string) as part of a name/value pair of a JSON object. - - - + ]]> The specified property name is too large. Validation is enabled, and this method would result in writing invalid JSON. @@ -507,15 +503,13 @@ The property name is escaped before writing. The binary data to be written as a base 64 encoded JSON string as part of the name/value pair. Writes the property name and raw bytes value (as a Base64 encoded JSON string) as part of a name/value pair of a JSON object. - - - + ]]> when the specified property name is too large. @@ -546,15 +540,13 @@ The property name is escaped before writing. The binary data to be written as a base 64 encoded JSON string as part of the name/value pair. Writes the pre-encoded property name and raw bytes value (as a base 64 encoded JSON string) as part of a name/value pair of a JSON object. - - was created. - ]]> - + ]]> Validation is enabled, and this method would result in writing invalid JSON. @@ -581,15 +573,13 @@ The property name should already be escaped when the instance of The binary data to be written as a base 64 encoded JSON string element of a JSON array. Writes the raw bytes value as base 64 encoded JSON string as an element of a JSON array. - - - + ]]> The specified value is too large. Validation is enabled, and this method would result in writing invalid JSON. @@ -721,15 +711,13 @@ The property name is escaped before writing. The value to be written as a JSON literal true or false as part of the name/value pair. Writes the pre-encoded property name and value (as a JSON literal true or false) as part of a name/value pair of a JSON object. - - was created. - ]]> - + ]]> Validation is enabled, and this method would result in writing invalid JSON. @@ -1026,15 +1014,13 @@ The property name is escaped before writing. The JSON encoded property name of the JSON object to be transcoded and written as UTF-8. Writes the pre-encoded property name and the JSON literal null as part of a name/value pair of a JSON object. - - was created. - ]]> - + ]]> Validation is enabled, and this method would result in writing invalid JSON. @@ -1871,8 +1857,7 @@ The property name is escaped before writing. The value to be written as a JSON number as part of the name/value pair. Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object. - - using the default was created. - ]]> - + ]]> Validation is enabled, and this method would result in writing invalid JSON. @@ -1910,8 +1894,7 @@ The property name should already be escaped when the instance of The value to be written as a JSON number as part of the name/value pair. Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object. - - using the default was created. - ]]> - + ]]> Validation is enabled, and this method would result in writing invalid JSON. @@ -1949,8 +1931,7 @@ The property name should already be escaped when the instance of The value to be written as a JSON number as part of the name/value pair. Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object. - - using the default was created. - ]]> - + ]]> Validation is enabled, and this method would result in writing invalid JSON. @@ -1988,8 +1968,7 @@ The property name should already be escaped when the instance of The value to be written as a JSON number as part of the name/value pair. Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object. - - using the default was created. - ]]> - + ]]> Validation is enabled, and this method would result in writing invalid JSON. @@ -2027,8 +2005,7 @@ The property name should already be escaped when the instance of The value to be written as a JSON number as part of the name/value pair. Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object. - - using the default was created. - ]]> - + ]]> Validation is enabled, and this method would result in writing invalid JSON. @@ -2071,8 +2047,7 @@ The property name should already be escaped when the instance of The value to be written as a JSON number as part of the name/value pair. Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object. - - using the default was created. - ]]> - + ]]> Validation is enabled, and this method would result in writing invalid JSON. @@ -2115,8 +2089,7 @@ The property name should already be escaped when the instance of The value to be written as a JSON number as part of the name/value pair. Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object. - - using the default was created. - ]]> - + ]]> Validation is enabled, and this method would result in writing invalid JSON. @@ -2609,15 +2581,13 @@ Validation is enabled, and this write operation would produce invalid JSON.The JSON encoded property name of the JSON array to be transcoded and written as UTF-8. Writes the beginning of a JSON array with a pre-encoded property name as the key. - - was created. - ]]> - + ]]> The depth of the JSON has exceeded the maximum depth of 1000. @@ -2782,15 +2752,13 @@ Validation is enabled, and this write operation would produce invalid JSON.The JSON encoded property name of the JSON object to be transcoded and written as UTF-8. Writes the beginning of a JSON object with a pre-encoded property name as the key. - - was created. - ]]> - + ]]> The depth of the JSON has exceeded the maximum depth of 1000. @@ -3027,8 +2995,7 @@ The property name and value is escaped before writing. The JSON encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair. Writes the UTF-8 property name and pre-encoded value (as a JSON string) as part of a name/value pair of a JSON object. - - - + ]]> The specified property name is too large. Validation is enabled, and this method would result in writing invalid JSON. @@ -3271,8 +3237,7 @@ The property name and value is escaped before writing. The JSON encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair. Writes the property name and pre-encoded value (as a JSON string) as part of a name/value pair of a JSON object. - - - + ]]> The specified property name is too large. Validation is enabled, and the write operation would produce invalid JSON. @@ -3515,8 +3479,7 @@ The property name and value is escaped before writing. The JSON encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair. Writes the property name and pre-encoded value (as a JSON string) as part of a name/value pair of a JSON object. - - - + ]]> The specified property name is too large. Validation is enabled, and the write operation would produce invalid JSON. @@ -3555,8 +3517,7 @@ The property name is escaped before writing. The value to be written as a JSON string as part of the name/value pair. Writes the pre-encoded property name and value (as a JSON string) as part of a name/value pair of a JSON object. - - using the round-trippable ('O') was created. - ]]> - + ]]> Validation is enabled, and the write operation would produce invalid JSON. @@ -3594,8 +3554,7 @@ The property name should already be escaped when the instance of The value to be written as a JSON string as part of the name/value pair. Writes the pre-encoded property name and value (as a JSON string) as part of a name/value pair of a JSON object. - - using the round-trippable ('O') was created. - ]]> - + ]]> Validation is enabled, and the write operation would produce invalid JSON. @@ -3633,8 +3591,7 @@ The property name should already be escaped when the instance of The value to be written as a JSON string as part of the name/value pair. Writes the pre-encoded property name and value (as a JSON string) as part of a name/value pair of a JSON object. - - using the default was created. - ]]> - + ]]> Validation is enabled, and the write operation would produce invalid JSON. @@ -3672,8 +3628,7 @@ The property name should already be escaped when the instance of The UTF-8 encoded value to be written as a JSON string as part of the name/value pair. Writes the pre-encoded property name and UTF-8 text value (as a JSON string) as part of a name/value pair of a JSON object. - - - + ]]> The specified value is too large. Validation is enabled, and the write operation would produce invalid JSON. @@ -3712,8 +3666,7 @@ The value is escaped before writing. The value to be written as a UTF-8 transcoded JSON string as part of the name/value pair. Writes the pre-encoded property name and text value (as a JSON string) as part of a name/value pair of a JSON object. - - - + ]]> The specified value is too large. Validation is enabled, and the write operation would produce invalid JSON. @@ -3752,8 +3704,7 @@ The value is escaped before writing. The value to be written as a UTF-8 transcoded JSON string as part of the name/value pair. Writes the pre-encoded property name and string text value (as a JSON string) as part of a name/value pair of a JSON object. - - - + ]]> The specified value is too large. Validation is enabled, and the write operation would produce invalid JSON. @@ -3792,15 +3742,13 @@ The value is escaped before writing. The JSON encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair. Writes the pre-encoded property name and pre-encoded value (as a JSON string) as part of a name/value pair of a JSON object. - - was created. - ]]> - + ]]> Validation is enabled, and the write operation would produce invalid JSON. @@ -4016,15 +3964,13 @@ The value is escaped before writing. The JSON encoded value to be written as a UTF-8 transcoded JSON string element of a JSON array. Writes the pre-encoded text value (as a JSON string) as an element of a JSON array. - - was created. - ]]> - + ]]> Validation is enabled, and the write operation would produce invalid JSON.