System.Text.Json
Defines how the struct handles comments.
Allows comments within the JSON input and treats them as valid tokens. While reading, the caller can access the comment values.
Doesn't allow comments within the JSON input. Comments are treated as invalid JSON if found, and a is thrown. This is the default value.
Allows comments within the JSON input and ignores them. The behaves as if no comments are present.
Provides a mechanism for examining the structural content of a JSON value without automatically instantiating data values.
Releases the resources used by this instance.
Parses a sequence as UTF-8-encoded text representing a single JSON byte value into a JsonDocument.
The JSON text to parse.
Options to control the reader behavior during parsing.
does not represent a valid single JSON value.
contains unsupported options.
A JsonDocument representation of the JSON value.
Parses a as UTF-8-encoded data representing a single JSON value into a JsonDocument. The stream is read to completion.
The JSON data to parse.
Options to control the reader behavior during parsing.
does not represent a valid single JSON value.
contains unsupported options.
A JsonDocument representation of the JSON value.
Parses memory as UTF-8-encoded text representing a single JSON byte value into a JsonDocument.
The JSON text to parse.
Options to control the reader behavior during parsing.
does not represent a valid single JSON value.
contains unsupported options.
A JsonDocument representation of the JSON value.
Parses text representing a single JSON value into a JsonDocument.
The JSON text to parse.
Options to control the reader behavior during parsing.
does not represent a valid single JSON value.
contains unsupported options.
A JsonDocument representation of the JSON value.
Parses text representing a single JSON string value into a JsonDocument.
The JSON text to parse.
Options to control the reader behavior during parsing.
does not represent a valid single JSON value.
contains unsupported options.
A JsonDocument representation of the JSON value.
Parses a as UTF-8-encoded data representing a single JSON value into a JsonDocument. The stream is read to completion.
The JSON data to parse.
Options to control the reader behavior during parsing.
The token to monitor for cancellation requests.
does not represent a valid single JSON value.
contains unsupported options.
A task to produce a JsonDocument representation of the JSON value.
Parses one JSON value (including objects or arrays) from the provided reader.
The reader to read.
contains unsupported options.
-or-
The current token does not start or represent a value.
A value could not be read from the reader.
A JsonDocument representing the value (and nested values) read from the reader.
Attempts to parse one JSON value (including objects or arrays) from the provided reader.
The reader to read.
When the method returns, contains the parsed document.
contains unsupported options.
-or-
The current token does not start or represent a value.
A value could not be read from the reader.
if a value was read and parsed into a JsonDocument; if the reader ran out of data while parsing. All other situations result in an exception being thrown.
Writes the document to the provided writer as a JSON value.
The writer to which to write the document.
The parameter is .
The of this would result in invalid JSON.
The parent has been disposed.
Gets the root element of this JSON document.
A representing the value of the document.
Provides the ability for the user to define custom behavior when parsing JSON to create a .
Gets or sets a value that indicates 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 extra comma at the end of a list of JSON values in an object or array is allowed; otherwise, . Default is
Gets or sets a value that determines how the handles comments when reading through the JSON data.
The comment handling enum is set to a value that is not supported (or not within the enum range).
One of the enumeration values that indicates how comments are handled.
Gets or sets the maximum depth allowed when parsing JSON data, with the default (that is, 0) indicating a maximum depth of 64.
The max depth is set to a negative value.
The maximum depth allowed when parsing JSON data.
Represents a specific JSON value within a .
Gets a JsonElement that can be safely stored beyond the lifetime of the original .
A JsonElement that can be safely stored beyond the lifetime of the original .
Gets an enumerator to enumerate the values in the JSON array represented by this JsonElement.
This value's is not .
The parent has been disposed.
An enumerator to enumerate the values in the JSON array represented by this JsonElement.
Gets an enumerator to enumerate the properties in the JSON object represented by this JsonElement.
This value's is not .
The parent has been disposed.
An enumerator to enumerate the properties in the JSON object represented by this JsonElement.
Gets the number of values contained within the current array value.
This value's is not .
The parent has been disposed.
The number of values contained within the current array value.
Gets the value of the element as a .
This value's is neither nor .
The parent has been disposed.
The value of the element as a .
Gets the current JSON number as a .
This value's is not .
The value cannot be represented as a .
The parent has been disposed.
The current JSON number as a .
Gets the value of the element as a byte array.
This value's is not .
The value is not encoded as Base64 text and hence cannot be decoded to bytes.
The parent has been disposed.
The value decoded as a byte array.
Gets the value of the element as a .
This value's is not .
The value cannot be read as a .
The parent has been disposed.
The value of the element as a .
Gets the value of the element as a .
This value's is not .
The value cannot be read as a .
The parent has been disposed.
The value of the element as a .
Gets the current JSON number as a .
This value's is not .
The value cannot be represented as a .
The parent has been disposed.
The current JSON number as a .
Gets the current JSON number as a .
This value's is not .
The value cannot be represented as a .
The parent has been disposed.
The current JSON number as a .
Gets the value of the element as a .
This value's is not .
The value cannot be represented as a .
The parent has been disposed.
The value of the element as a .
Gets the current JSON number as an .
This value's is not .
The value cannot be represented as an .
The parent has been disposed.
The current JSON number as an .
Gets the current JSON number as an .
This value's is not .
The value cannot be represented as an .
The parent has been disposed.
The current JSON number as an .
Gets the current JSON number as an .
This value's is not .
The value cannot be represented as a .
The parent has been disposed.
The current JSON number as an .
Gets a representing the value of a required property identified by .
The UTF-8 representation (with no Byte-Order-Mark (BOM)) of the name of the property to return.
This value's is not .
No property was found with the requested name.
The parent has been disposed.
A representing the value of the requested property.
Gets a representing the value of a required property identified by .
The name of the property whose value is to be returned.
This value's is not .
No property was found with the requested name.
The parent has been disposed.
A representing the value of the requested property.
Gets a representing the value of a required property identified by .
The name of the property whose value is to be returned.
This value's is not .
No property was found with the requested name.
is .
The parent has been disposed.
A representing the value of the requested property.
Gets a string that represents the original input data backing this value.
The parent has been disposed.
The original input data backing this value.
Gets the current JSON number as an .
This value's is not .
The value cannot be represented as an .
The parent has been disposed.
The current JSON number as an .
Gets the current JSON number as a .
This value's is not .
The value cannot be represented as a .
The parent has been disposed.
The current JSON number as a .
Gets the value of the element as a .
This value's is neither nor .
The parent has been disposed.
The value of the element as a .
Gets the current JSON number as a .
This value's is not .
The value cannot be represented as a .
The parent has been disposed.
The current JSON number as a .
Gets the current JSON number as a .
This value's is not .
The value cannot be represented as a .
The parent has been disposed.
The current JSON number as a .
Gets the current JSON number as a .
This value's is not .
The value cannot be represented as a .
The parent has been disposed.
The current JSON number as a .
Parses one JSON value (including objects or arrays) from the provided reader.
The reader to read.
is using unsupported options.
The current token does not start or represent a value.
A value could not be read from the reader.
A JsonElement representing the value (and nested values) read from the reader.
Gets a string representation for the current value appropriate to the value type.
The parent has been disposed.
A string representation for the current value appropriate to the value type.
Attempts to represent the current JSON number as a .
When the method returns, contains the byte equivalent of the current JSON number if the conversion succeeded.
This value's is not .
The parent has been disposed.
if the number can be represented as a ; otherwise, .
Attempts to represent the current JSON string as a byte array, assuming that it is Base64 encoded.
If the method succeeds, contains the decoded binary representation of the Base64 text.
This value's is not .
The parent has been disposed.
if the entire token value is encoded as valid Base64 text and can be successfully decoded to bytes; otherwise, .
Attempts to represent the current JSON string as a .
When this method returns, contains the date and time value equivalent to the current JSON string.
This value's is not .
The parent has been disposed.
if the string can be represented as a ; otherwise, .
Attempts to represent the current JSON string as a .
When this method returns, contains the date and time equivalent to the current JSON string.
This value's is not .
The parent has been disposed.
if the string can be represented as a ; otherwise, .
Attempts to represent the current JSON number as a .
When this method returns, contains the decimal equivalent of the current JSON number.
This value's is not .
The parent has been disposed.
if the number can be represented as a ; otherwise, .
Attempts to represent the current JSON number as a .
When this method returns, contains a double-precision floating point value equivalent to the current JSON number.
This value's is not .
The parent has been disposed.
if the number can be represented as a ; otherwise, .
Attempts to represent the current JSON string as a .
When this method returns, contains the GUID equivalent to the current JSON string.
This value's is not .
The parent has been disposed.
if the string can be represented as a ; otherwise, .
Attempts to represent the current JSON number as an .
When the method returns, contains the 16-bit integer equivalent of the current JSON number if the conversion succeeded.
This value's is not .
The parent has been disposed.
if the number can be represented as an ; otherwise, .
Attempts to represent the current JSON number as an .
When this method returns, contains the 32-bit integer value equivalent to the current JSON number.
This value's is not .
The parent has been disposed.
if the number can be represented as an ; otherwise, .
Attempts to represent the current JSON number as a .
When this method returns, contains the 64-bit integer value equivalent to the current JSON number.
This value's is not .
The parent has been disposed.
if the number can be represented as a ; otherwise, .
Looks for a property named in the current object, returning a value that indicates whether or not such a property exists. When the property exists, the method assigns its value to the argument.
The UTF-8 (with no Byte-Order-Mark (BOM)) representation of the name of the property to return.
Receives the value of the located property.
This value's is not .
The parent has been disposed.
if the property was found; otherwise, .
Looks for a property named in the current object, returning a value that indicates whether or not such a property exists. When the property exists, the method assigns its value to the argument.
The name of the property to find.
When this method returns, contains the value of the specified property.
This value's is not .
The parent has been disposed.
if the property was found; otherwise, .
Looks for a property named in the current object, returning a value that indicates whether or not such a property exists. When the property exists, its value is assigned to the argument.
The name of the property to find.
When this method returns, contains the value of the specified property.
This value's is not .
is .
The parent has been disposed.
if the property was found; otherwise, .
Attempts to represent the current JSON number as an .
When the method returns, contains the signed byte equivalent of the current JSON number if the conversion succeeded.
This value's is not .
The parent has been disposed.
if the number can be represented as an ; otherwise, .
Attempts to represent the current JSON number as a .
When this method returns, contains the single-precision floating point value equivalent to the current JSON number.
This value's is not .
The parent has been disposed.
if the number can be represented as a ; otherwise, .
Attempts to represent the current JSON number as a .
When the method returns, contains the unsigned 16-bit integer equivalent of the current JSON number if the conversion succeeded.
This value's is not .
The parent has been disposed.
if the number can be represented as a ; otherwise, .
Attempts to represent the current JSON number as a .
When this method returns, contains unsigned 32-bit integer value equivalent to the current JSON number.
This value's is not .
The parent has been disposed.
if the number can be represented as a ; otherwise, .
Attempts to represent the current JSON number as a .
When this method returns, contains unsigned 64-bit integer value equivalent to the current JSON number.
This value's is not .
The parent has been disposed.
if the number can be represented as a ; otherwise, .
Attempts to parse one JSON value (including objects or arrays) from the provided reader.
The reader to read.
Receives the parsed element.
is using unsupported options.
The current token does not start or represent a value.
A value could not be read from the reader.
if a value was read and parsed into a JsonElement; if the reader ran out of data while parsing.
All other situations result in an exception being thrown.
Compares the text represented by a UTF8-encoded byte span to the string value of this element.
The UTF-8 encoded text to compare against.
This value's is not .
if the string value of this element has the same UTF-8 encoding as
; otherwise, .
Compares a specified read-only character span to the string value of this element.
The text to compare against.
This value's is not .
if the string value of this element matches ; otherwise, .
Compares a specified string to the string value of this element.
The text to compare against.
This value's is not .
if the string value of this element matches ; otherwise, .
Writes the element to the specified writer as a JSON value.
The writer to which to write the element.
The parameter is .
The of this value is .
The parent has been disposed.
Gets the value at the specified index if the current value is an .
The item index.
This value's is not .
is not in the range [0, ()).
The parent has been disposed.
The value at the specified index.
Gets the type of the current JSON value.
The parent has been disposed.
The type of the current JSON value.
Represents an enumerator for the contents of a JSON array.
Releases the resources used by this instance.
Returns an enumerator that iterates through a collection.
An enumerator that can be used to iterate through the array.
Advances the enumerator to the next element of the collection.
if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection.
Sets the enumerator to its initial position, which is before the first element in the collection.
Returns an enumerator that iterates through a collection.
An enumerator for an array of that can be used to iterate through the collection.
Returns an enumerator that iterates through a collection.
An enumerator that can be used to iterate through the collection.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Represents an enumerator for the properties of a JSON object.
Releases the resources used by this instance.
Returns an enumerator that iterates the properties of an object.
An enumerator that can be used to iterate through the object.
Advances the enumerator to the next element of the collection.
if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection.
Sets the enumerator to its initial position, which is before the first element in the collection.
Returns an enumerator that iterates through a collection.
An enumerator for objects that can be used to iterate through the collection.
Returns an enumerator that iterates through a collection.
An enumerator that can be used to iterate through the collection.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Gets the element in the collection at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Provides methods to transform UTF-8 or UTF-16 encoded text into a form that is suitable for JSON.
Encodes a UTF-8 text value as a JSON string.
The UTF-8 encoded text to convert to JSON encoded text.
The encoder to use when escaping the string, or to use the default encoder.
is too large.
-or-
contains invalid UTF-8 bytes.
The encoded JSON text.
Encodes a specified text value as a JSON string.
The value to convert to JSON encoded text.
The encoder to use when escaping the string, or to use the default encoder.
is too large.
-or-
contains invalid UTF-16 characters.
The encoded JSON text.
Encodes the string text value as a JSON string.
The value to convert to JSON encoded text.
The encoder to use when escaping the string, or to use the default encoder.
is .
is too large.
-or-
contains invalid UTF-16 characters.
The encoded JSON text.
Determines whether this instance and a specified object, which must also be a instance, have the same value.
The object to compare to this instance.
if the current instance and are equal; otherwise, .
Determines whether this instance and another specified instance have the same value.
The object to compare to this instance.
if this instance and have the same value; otherwise, .
Returns the hash code for this .
The hash code for this instance.
Converts the value of this instance to a .
The underlying UTF-16 encoded string.
Gets the UTF-8 encoded representation of the pre-encoded JSON text.
The UTF-8 encoded representation of the pre-encoded JSON text.
Defines a custom exception object that is thrown when invalid JSON text is encountered, when the defined maximum depth is passed, or the JSON text is not compatible with the type of a property on an object.
Initializes a new instance of the class.
Creates a new exception object with serialized data.
The serialized object data about the exception being thrown.
An object that contains contextual information about the source or destination.
is .
Initializes a new instance of the class with a specified error message.
The context-specific error message.
Initializes a new instance of the class, with a specified error message and a reference to the inner exception that is the cause of this exception.
The context-specific error message.
The exception that caused the current exception.
Creates a new exception object to relay error information to the user.
The context-specific error message.
The path where the invalid JSON was encountered.
The line number (starting at 0) at which the invalid JSON was encountered when deserializing.
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 that includes a specified inner exception.
The context-specific error message.
The path where the invalid JSON was encountered.
The line number (starting at 0) at which the invalid JSON was encountered when deserializing.
The byte count (starting at 0) within the current line where the invalid JSON was encountered.
The exception that caused the current exception.
Sets the with information about the exception.
The serialized object data about the exception being thrown.
An object that contains contextual information about the source or destination.
Gets the zero-based number of bytes read within the current line before the exception.
The zero-based number of bytes read within the current line before the exception.
Gets the zero-based number of lines read before the exception.
The zero-based number of lines read before the exception.
Gets a message that describes the current exception.
The error message that describes the current exception.
Gets The path within the JSON where the exception was encountered.
The path within the JSON where the exception was encountered.
Determines the naming policy used to convert a string-based name to another format, such as a camel-casing format.
Initializes a new instance of .
When overridden in a derived class, converts the specified name according to the policy.
The name to convert.
The converted name.
Gets the naming policy for camel-casing.
The naming policy for camel-casing.
Represents a single property for a JSON object.
Compares the specified UTF-8 encoded text to the name of this property.
The UTF-8 encoded text to compare against.
This value's is not .
if the name of this property has the same UTF-8 encoding as ; otherwise, .
Compares the specified text as a character span to the name of this property.
The text to compare against.
This value's is not .
if the name of this property matches ; otherwise, .
Compares the specified string to the name of this property.
The text to compare against.
This value's is not .
if the name of this property matches ; otherwise .
Provides a string representation of the property for debugging purposes.
A string containing the uninterpreted value of the property, beginning at the declaring open-quote and ending at the last character that is part of the value.
Writes the property to the provided writer as a named JSON object property.
The writer to which to write the property.
is .
is too large to be a JSON object property.
The of this JSON property's would result in invalid JSON.
The parent has been disposed.
Gets the name of this property.
The name of this property.
Gets the value of this property.
The value of this property.
Provides the ability for the user to define custom behavior when reading JSON.
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 extra comma is allowed; otherwise, .
Gets or sets a value that determines how the handles comments when reading through the JSON data.
The property is being set to a value that is not a member of the enumeration.
One of the enumeration values that indicates how comments are handled.
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 is being set to a negative value.
The maximum depth allowed when reading JSON.
Defines an opaque type that holds and saves all the relevant state information, which must be provided to the to continue reading after processing incomplete data.
Constructs a new instance.
Defines the customized behavior of the that is different from the JSON RFC (for example how to handle comments, or the maximum depth allowed when reading). By default, the follows the JSON RFC strictly (comments within the JSON are invalid) and reads up to a maximum depth of 64.
The maximum depth is set to a non-positive value (< 0).
Gets the custom behavior to use when reading JSON data using the struct that may deviate from strict adherence to the JSON specification, which is the default behavior.
The custom behavior to use when reading JSON data.
Provides functionality to serialize objects or value types to JSON and to deserialize JSON into objects or value types.
Reads the UTF-8 encoded text representing a single JSON value into a .
The Stream will be read to completion.
JSON data to parse.
The type of the object to convert to and return.
Options to control the behavior during reading.
or is .
The JSON is invalid, the is not compatible with the JSON, or there is remaining data in the Stream.
There is no compatible for or its serializable members.
A representation of the JSON value.
Reads the UTF-8 encoded text representing a single JSON value into a .
The Stream will be read to completion.
JSON data to parse.
The type of the object to convert to and return.
A metadata provider for serializable types.
, , or is .
The JSON is invalid, the is not compatible with the JSON, or there is remaining data in the Stream.
There is no compatible for or its serializable members.
The method on the provided did not return a compatible for .
A representation of the JSON value.
Parses the UTF-8 encoded text representing a single JSON value into an instance of a specified type.
The JSON text to parse.
The type of the object to convert to and return.
Options to control the behavior during parsing.
is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the span beyond a single JSON value.
There is no compatible for or its serializable members.
A representation of the JSON value.
Parses the UTF-8 encoded text representing a single JSON value into a .
JSON text to parse.
The type of the object to convert to and return.
A metadata provider for serializable types.
is .
The JSON is invalid, is not compatible with the JSON, or there is remaining data in the Stream.
There is no compatible for or its serializable members.
The method on the provided did not return a compatible for .
A representation of the JSON value.
Parses the text representing a single JSON value into an instance of a specified type.
The JSON text to parse.
The type of the object to convert to and return.
Options to control the behavior during parsing.
is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the span beyond a single JSON value.
There is no compatible for or its serializable members.
A representation of the JSON value.
Parses the text representing a single JSON value into a .
JSON text to parse.
The type of the object to convert to and return.
A metadata provider for serializable types.
or is .
-or-
is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the string beyond a single JSON value.
There is no compatible for or its serializable members.
The method of the provided returns for the type to convert.
A representation of the JSON value.
Parses the text representing a single JSON value into an instance of a specified type.
The JSON text to parse.
The type of the object to convert to and return.
Options to control the behavior during parsing.
or is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the string beyond a single JSON value.
There is no compatible for or its serializable members.
A representation of the JSON value.
Parses the text representing a single JSON value into a .
JSON text to parse.
The type of the object to convert to and return.
A metadata provider for serializable types.
or is .
-or-
is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the string beyond a single JSON value.
There is no compatible for or its serializable members.
The method of the provided returns for the type to convert.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
The type of the object to convert to and return.
Options to control the behavior during parsing.
or is .
is not compatible with the JSON.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
The type of the object to convert to and return.
A metadata provider for serializable types.
is .
-or-
is .
-or-
is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the string beyond a single JSON value.
There is no compatible for or its serializable members.
The method of the provided returns for the type to convert.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
The type of the object to convert to and return.
Options to control the behavior during parsing.
is .
is not compatible with the JSON.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
The type of the object to convert to and return.
A metadata provider for serializable types.
is .
-or-
is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the string beyond a single JSON value.
There is no compatible for or its serializable members.
The method of the provided returns for the type to convert.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
The type of the object to convert to and return.
Options to control the behavior during parsing.
is not compatible with the JSON.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
The type of the object to convert to and return.
A metadata provider for serializable types.
is .
-or-
is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the string beyond a single JSON value.
There is no compatible for or its serializable members.
The method of the provided returns for the type to convert.
A representation of the JSON value.
Reads one JSON value (including objects or arrays) from the provided reader and converts it into an instance of a specified type.
The reader to read the JSON from.
The type of the object to convert to and return.
Options to control the serializer behavior during reading.
is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
A value could not be read from the reader.
is using unsupported options.
There is no compatible for or its serializable members.
A representation of the JSON value.
Reads one JSON value (including objects or arrays) from the provided reader into a .
The reader to read.
The type of the object to convert to and return.
A metadata provider for serializable types.
or is .
The JSON is invalid, is not compatible with the JSON, or a value could not be read from the reader.
is using unsupported options.
There is no compatible for or its serializable members.
The method on the provided did not return a compatible for .
A representation of the JSON value.
Reads the UTF-8 encoded text representing a single JSON value into a .
The Stream will be read to completion.
JSON data to parse.
Options to control the behavior during reading.
The type to deserialize the JSON value into.
is .
The JSON is invalid, is not compatible with the JSON, or there is remaining data in the Stream.
There is no compatible for or its serializable members.
A representation of the JSON value.
Reads the UTF-8 encoded text representing a single JSON value into a .
The Stream will be read to completion.
JSON data to parse.
Metadata about the type to convert.
The type to deserialize the JSON value into.
or is .
The JSON is invalid, is not compatible with the JSON, or there is remaining data in the Stream.
There is no compatible for or its serializable members.
A representation of the JSON value.
Parses the UTF-8 encoded text representing a single JSON value into an instance of the type specified by a generic type parameter.
The JSON text to parse.
Options to control the behavior during parsing.
The target type of the UTF-8 encoded text.
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the span beyond a single JSON value.
There is no compatible for or its serializable members.
A representation of the JSON value.
Parses the UTF-8 encoded text representing a single JSON value into a .
JSON text to parse.
Metadata about the type to convert.
The type to deserialize the JSON value into.
The JSON is invalid, is not compatible with the JSON, or there is remaining data in the Stream.
There is no compatible for or its serializable members.
A representation of the JSON value.
Parses the text representing a single JSON value into an instance of the type specified by a generic type parameter.
The JSON text to parse.
Options to control the behavior during parsing.
The type to deserialize the JSON value into.
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the span beyond a single JSON value.
There is no compatible for or its serializable members.
A representation of the JSON value.
Parses the text representing a single JSON value into a .
JSON text to parse.
Metadata about the type to convert.
The type to deserialize the JSON value into.
is .
-or-
is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the string beyond a single JSON value.
There is no compatible for or its serializable members.
A representation of the JSON value.
Parses the text representing a single JSON value into an instance of the type specified by a generic type parameter.
The JSON text to parse.
Options to control the behavior during parsing.
The target type of the JSON value.
is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the string beyond a single JSON value.
There is no compatible for or its serializable members.
A representation of the JSON value.
Parses the text representing a single JSON value into a .
JSON text to parse.
Metadata about the type to convert.
The type to deserialize the JSON value into.
is .
-or-
is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the string beyond a single JSON value.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
Options to control the behavior during parsing.
The type to deserialize the JSON value into.
is .
is not compatible with the JSON.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
Metadata about the type to convert.
The type to deserialize the JSON value into.
is .
-or-
is .
is not compatible with the JSON.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
Options to control the behavior during parsing.
The type to deserialize the JSON value into.
is not compatible with the JSON.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
Metadata about the type to convert.
The type to deserialize the JSON value into.
is .
is not compatible with the JSON.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
Options to control the behavior during parsing.
The type to deserialize the JSON value into.
is not compatible with the JSON.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the representing a single JSON value into a .
The to convert.
Metadata about the type to convert.
The type to deserialize the JSON value into.
is .
is not compatible with the JSON.
There is no compatible for or its serializable members.
A representation of the JSON value.
Reads one JSON value (including objects or arrays) from the provided reader into an instance of the type specified by a generic type parameter.
The reader to read the JSON from.
Options to control serializer behavior during reading.
The target type of the JSON value.
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
A value could not be read from the reader.
uses unsupported options.
There is no compatible for or its serializable members.
A representation of the JSON value.
Reads one JSON value (including objects or arrays) from the provided reader into a .
The reader to read.
Metadata about the type to convert.
The type to deserialize the JSON value into.
The JSON is invalid, is not compatible with the JSON, or a value could not be read from the reader.
is using unsupported options.
There is no compatible for or its serializable members.
A representation of the JSON value.
Asynchronously reads the UTF-8 encoded text representing a single JSON value into an instance of a specified type. The stream will be read to completion.
The JSON data to parse.
The type of the object to convert to and return.
Options to control the behavior during reading.
A cancellation token that may be used to cancel the read operation.
or is .
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the stream.
There is no compatible for or its serializable members.
A representation of the JSON value.
Reads the UTF-8 encoded text representing a single JSON value into a .
The Stream will be read to completion.
JSON data to parse.
The type of the object to convert to and return.
A metadata provider for serializable types.
The that can be used to cancel the read operation.
, , or is .
The JSON is invalid, the is not compatible with the JSON, or there is remaining data in the Stream.
There is no compatible for or its serializable members.
The method on the provided did not return a compatible for .
A representation of the JSON value.
Asynchronously reads the UTF-8 encoded text representing a single JSON value into an instance of a type specified by a generic type parameter. The stream will be read to completion.
The JSON data to parse.
Options to control the behavior during reading.
A token that may be used to cancel the read operation.
The target type of the JSON value.
The JSON is invalid.
-or-
is not compatible with the JSON.
-or-
There is remaining data in the stream.
There is no compatible for or its serializable members.
is .
A representation of the JSON value.
Reads the UTF-8 encoded text representing a single JSON value into a .
The Stream will be read to completion.
JSON data to parse.
Metadata about the type to convert.
The which may be used to cancel the read operation.
The type to deserialize the JSON value into.
or is .
The JSON is invalid, is not compatible with the JSON, or there is remaining data in the Stream.
There is no compatible for or its serializable members.
A representation of the JSON value.
Wraps the UTF-8 encoded text into an that can be used to deserialize root-level JSON arrays in a streaming manner.
JSON data to parse.
Options to control the behavior during reading.
The which may be used to cancel the read operation.
The element type to deserialize asynchronously.
is .
An representation of the provided JSON array.
Converts the provided value to UTF-8 encoded JSON text and write it to the .
The UTF-8 to write to.
The value to convert.
The type of the to convert.
Options to control the conversion behavior.
is not compatible with .
or is .
There is no compatible for or its serializable members.
Converts the provided value to UTF-8 encoded JSON text and write it to the .
The UTF-8 to write to.
The value to convert.
The type of the to convert.
A metadata provider for serializable types.
is not compatible with .
, , or is .
There is no compatible for or its serializable members.
Converts the value of a specified type into a JSON string.
The value to convert.
The type of the to convert.
Options to control the conversion behavior.
is not compatible with .
is .
There is no compatible for or its serializable members.
The JSON string representation of the value.
Converts the provided value into a .
The value to convert.
The type of the to convert.
A metadata provider for serializable types.
There is no compatible for or its serializable members.
The method of the provided returns for the type to convert.
or is .
A representation of the value.
Writes the JSON representation of the specified type to the provided writer.
The JSON writer to write to.
The value to convert and write.
The type of the to convert.
Options to control serialization behavior.
is not compatible with
or is .
There is no compatible for or its serializable members.
Writes one JSON value (including objects or arrays) to the provided writer.
A JSON writer to write to.
The value to convert and write.
The type of the to convert.
A metadata provider for serializable types.
is not compatible with .
or is .
There is no compatible for or its serializable members.
The method of the provided returns for the type to convert.
Converts the value of a type specified by a generic type parameter into a JSON string.
The value to convert.
Options to control serialization behavior.
The type of the value to serialize.
There is no compatible for or its serializable members.
A JSON string representation of the value.
Converts the provided value into a .
The value to convert.
Metadata about the type to convert.
The type of the value to serialize.
There is no compatible for or its serializable members.
is .
A representation of the value.
Converts the provided value to UTF-8 encoded JSON text and write it to the .
The UTF-8 to write to.
The value to convert.
Options to control the conversion behavior.
The type of the value to serialize.
is .
There is no compatible for or its serializable members.
Converts the provided value to UTF-8 encoded JSON text and write it to the .
The UTF-8 to write to.
The value to convert.
Metadata about the type to convert.
The type of the value to serialize.
is .
There is no compatible for or its serializable members.
Writes the JSON representation of a type specified by a generic type parameter to the provided writer.
A JSON writer to write to.
The value to convert and write.
Options to control serialization behavior.
The type of the value to serialize.
is .
There is no compatible for or its serializable members.
Writes one JSON value (including objects or arrays) to the provided writer.
The writer to write.
The value to convert and write.
Metadata about the type to convert.
The type of the value to serialize.
or is .
There is no compatible for or its serializable members.
Asynchronously converts the value of a specified type to UTF-8 encoded JSON text and writes it to the specified stream.
The UTF-8 stream to write to.
The value to convert.
The type of the to convert.
Options to control serialization behavior.
A token that may be used to cancel the write operation.
is not compatible with .
or is .
There is no compatible for or its serializable members.
A task that represents the asynchronous write operation.
Converts the provided value to UTF-8 encoded JSON text and write it to the .
The UTF-8 to write to.
The value to convert.
The type of the to convert.
A metadata provider for serializable types.
The that can be used to cancel the write operation.
is not compatible with .
, , or is .
There is no compatible for or its serializable members.
A task that represents the asynchronous write operation.
Asynchronously converts a value of a type specified by a generic type parameter to UTF-8 encoded JSON text and writes it to a stream.
The UTF-8 stream to write to.
The value to convert.
Options to control serialization behavior.
A token that may be used to cancel the write operation.
The type of the value to serialize.
is .
There is no compatible for or its serializable members.
A task that represents the asynchronous write operation.
Converts the provided value to UTF-8 encoded JSON text and write it to the .
The UTF-8 to write to.
The value to convert.
Metadata about the type to convert.
The that can be used to cancel the write operation.
The type of the value to serialize.
is .
There is no compatible for or its serializable members.
A task that represents the asynchronous write operation.
Converts the provided value into a .
The value to convert.
The type of the to convert.
Options to control the conversion behavior.
is not compatible with .
is .
There is no compatible for or its serializable members.
A representation of the value.
Converts the provided value into a .
The value to convert.
The type of the to convert.
A metadata provider for serializable types.
There is no compatible for or its serializable members.
The method of the provided returns for the type to convert.
or is .
A representation of the value.
Converts the provided value into a .
The value to convert.
Options to control the conversion behavior.
The type of the value to serialize.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the provided value into a .
The value to convert.
Metadata about the type to convert.
The type of the value to serialize.
There is no compatible for or its serializable members.
is .
A representation of the value.
Converts the provided value into a .
The value to convert.
The type of the to convert.
Options to control the conversion behavior.
is not compatible with .
is .
There is no compatible for or its serializable members.
A representation of the value.
Converts the provided value into a .
The value to convert.
The type of the to convert.
A metadata provider for serializable types.
There is no compatible for or its serializable members.
The method of the provided returns for the type to convert.
or is .
A representation of the value.
Converts the provided value into a .
The value to convert.
Options to control the conversion behavior.
The type of the value to serialize.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the provided value into a .
The value to convert.
Metadata about the type to convert.
The type of the value to serialize.
There is no compatible for or its serializable members.
is .
A representation of the value.
Converts the provided value into a .
The value to convert.
The type of the to convert.
Options to control the conversion behavior.
is not compatible with .
is .
There is no compatible for or its serializable members.
A representation of the value.
Converts the provided value into a .
The value to convert.
The type of the to convert.
A metadata provider for serializable types.
There is no compatible for or its serializable members.
The method of the provided returns for the type to convert.
or is .
A representation of the value.
Converts the provided value into a .
The value to convert.
Options to control the conversion behavior.
The type of the value to serialize.
There is no compatible for or its serializable members.
A representation of the JSON value.
Converts the provided value into a .
The value to convert.
Metadata about the type to convert.
The type of the value to serialize.
There is no compatible for or its serializable members.
is .
A representation of the value.
Converts a value of the specified type into a JSON string, encoded as UTF-8 bytes.
The value to convert.
The type of the to convert.
Options to control the conversion behavior.
is not compatible with .
is .
There is no compatible for or its serializable members.
A JSON string representation of the value, encoded as UTF-8 bytes.
Converts the provided value into a array.
The value to convert.
The type of the to convert.
A metadata provider for serializable types.
is not compatible with .
is .
There is no compatible for or its serializable members.
The method of the provided returns for the type to convert.
A UTF-8 representation of the value.
Converts the value of a type specified by a generic type parameter into a JSON string, encoded as UTF-8 bytes.
The value to convert.
Options to control the conversion behavior.
The type of the value.
There is no compatible for or its serializable members.
A JSON string representation of the value, encoded as UTF-8 bytes.
Converts the provided value into a array.
The value to convert.
Metadata about the type to convert.
The type of the value to serialize.
There is no compatible for or its serializable members.
is .
A UTF-8 representation of the value.
Specifies scenario-based default serialization options that can be used to construct a instance.
General-purpose option values. These are the same settings that are applied if a member isn't specified.
For information about the default property values that are applied, see JsonSerializerOptions properties.
Option values appropriate to Web-based scenarios.
This member implies that:
- Property names are treated as case-insensitive.
- "camelCase" name formatting should be employed.
- Quoted numbers (JSON strings for number properties) are allowed.
Provides options to be used with .
Initializes a new instance of the class.
Constructs a new instance with a predefined set of options determined by the specified .
The to reason about.
Copies the options from a instance to a new instance.
The options instance to copy options from.
is .
Binds current instance with a new instance of the specified type.
The generic definition of the specified context type.
Returns the converter for the specified type.
The type to return a converter for.
The configured for returned an invalid converter.
There is no compatible for or its serializable members.
The first converter that supports the given type, or if there is no converter.
Get or sets a value that indicates 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 deserialized.
This property was set after serialization or deserialization has occurred.
if an extra comma at the end of a list of JSON values in an object or array is allowed (and ignored); otherwise.
Gets the list of user-defined converters that were registered.
The list of custom converters.
Gets or sets the default buffer size, in bytes, to use when creating temporary buffers.
The buffer size is less than 1.
This property was set after serialization or deserialization has occurred.
The default buffer size in bytes.
Specifies a condition to determine when properties with default values are ignored during serialization or deserialization.
The default value is .
This property is set to .
This property is set after serialization or deserialization has occurred.
-or-
has been set to . These properties cannot be used together.
Gets or sets the policy used to convert a key's name to another format, such as camel-casing.
The policy used to convert a key's name to another format.
Gets or sets the encoder to use when escaping strings, or to use the default encoder.
The JavaScript character encoding.
Gets or sets a value that determines whether values are ignored during serialization and deserialization. The default value is .
This property was set after serialization or deserialization has occurred.
-or-
has been set to a non-default value. These properties cannot be used together.
to ignore null values during serialization and deserialization; otherwise, .
Determines whether read-only fields are ignored during serialization. A field is read-only if it is marked with the keyword. The default value is .
This property is set after serialization or deserialization has occurred.
if read-only fields should be ignored during serialization; otherwise.
Gets a value that determines whether read-only properties are ignored during serialization. The default value is .
This property was set after serialization or deserialization has occurred.
to ignore read-only properties during serialization; otherwise, .
Determines whether fields are handled during serialization and deserialization.
The default value is .
This property is set after serialization or deserialization has occurred.
Gets or sets the maximum depth allowed when serializing or deserializing JSON, with the default value of 0 indicating a maximum depth of 64.
This property was set after serialization or deserialization has occurred.
The max depth is set to a negative value.
The maximum depth allowed when serializing or deserializing JSON.
Specifies how number types should be handled when serializing or deserializing.
This property is set after serialization or deserialization has occurred.
Gets or sets a value that determines whether a property's name uses a case-insensitive comparison during deserialization. The default value is .
to compare property names using case-insensitive comparison; otherwise, .
Gets or sets a value that specifies the policy used to convert a property's name on an object to another format, such as camel-casing, or to leave property names unchanged.
A property naming policy, or to leave property names unchanged.
Gets or sets a value that defines how comments are handled during deserialization.
This property was set after serialization or deserialization has occurred.
The comment handling enum is set to a value that is not supported (or not within the enum range).
A value that indicates whether comments are allowed, disallowed, or skipped.
Configures how object references are handled when reading and writing JSON.
Defines how deserializing a type declared as an is handled during deserialization.
Gets or sets a value that defines whether JSON should use pretty printing. By default, JSON is serialized without any extra white space.
This property was set after serialization or deserialization has occurred.
if JSON should pretty print on serialization; otherwise, . The default is .
Defines the various JSON tokens that make up a JSON text.
The token type is a comment string.
The token type is the end of a JSON array.
The token type is the end of a JSON object.
The token type is the JSON literal false.
There is no value (as distinct from ). This is the default token type if no data has been read by the .
The token type is the JSON literal null.
The token type is a JSON number.
The token type is a JSON property name.
The token type is the start of a JSON array.
The token type is the start of a JSON object.
The token type is a JSON string.
The token type is the JSON literal true.
Specifies the data type of a JSON value.
A JSON array.
The JSON value false.
The JSON value null.
A JSON number.
A JSON object.
A JSON string.
The JSON value true.
There is no value (as distinct from ).
Allows the user to define custom behavior when writing JSON using the .
Gets or sets the encoder to use when escaping strings, or to use the default encoder.
The JavaScript character encoder used to override the escaping behavior.
Gets or sets a value that indicates whether the should format the JSON output, which includes indenting nested JSON tokens, adding new lines, and adding white space between property names and values.
to format the JSON output; to write without any extra white space. The default is .
Gets or sets a value that indicates whether the should skip structural validation and allow the user to write invalid JSON.
to skip structural validation and allow invalid JSON; to throw an on any attempt to write invalid JSON.
Represents a mutable JSON array.
Initializes a new instance of the class that is empty.
Options to control the behavior.
Initializes a new instance of the class that contains items from the specified array.
The items to add to the new .
Initializes a new instance of the class that contains items from the specified params array.
Options to control the behavior.
The items to add to the new .
Adds a to the end of the .
The to be added to the end of the .
Adds an object to the end of the .
The object to be added to the end of the .
The type of object to be added.
Removes all elements from the .
Determines whether an element is in the .
The object to locate in the .
if is found in the ; otherwise, .
Initializes a new instance of the class that contains items from the specified .
The .
Options to control the behavior.
The is not a .
The new instance of the class that contains items from the specified .
Returns an enumerator that iterates through the .
A for the .
The object to locate in the .
The to locate in the .
The index of item if found in the list; otherwise, -1.
Inserts an element into the at the specified index.
The zero-based index at which should be inserted.
The to insert.
is less than 0 or is greater than .
Removes the first occurrence of a specific from the .
The to remove from the .
if is successfully removed; otherwise, .
Removes the element at the specified index of the .
The zero-based index of the element to remove.
is less than 0 or is greater than .
Copies the entire to a compatible one-dimensional array, starting at the specified index of the target array.
The one-dimensional that is the destination of the elements copied from . The Array must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than 0.
The number of elements in the source ICollection is greater than the available space from to the end of the destination .
Returns an enumerator that iterates through the .
A for the .
Writes the into the provided as JSON.
The .
Options to control the serialization behavior.
The parameter is .
Gets the number of elements contained in the .
Returns .
The base class that represents a single node within a mutable JSON document.
Casts to the derived type.
The node is not a .
A .
Casts to the derived type.
The node is not a .
A .
Casts to the derived type.
The node is not a .
A .
Gets the JSON path.
The JSON Path value.
Gets the value for the current .
The type of the value to obtain from the .
The current cannot be represented as a {TValue}.
The current is not a or is not compatible with {TValue}.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an explicit conversion of a given to a .
A to implicitly convert.
A value converted from the instance.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Defines an implicit conversion of a given to a .
A to implicitly convert.
A instance converted from the parameter.
Parse a as UTF-8-encoded data representing a single JSON value into a . The Stream will be read to completion.
JSON text to parse.
Options to control the node behavior after parsing.
Options to control the document behavior during parsing.
does not represent a valid single JSON value.
A representation of the JSON value.
Parses text representing a single JSON value.
JSON text to parse.
Options to control the node behavior after parsing.
Options to control the document behavior during parsing.
does not represent a valid single JSON value.
A representation of the JSON value.
Parses text representing a single JSON value.
JSON text to parse.
Options to control the node behavior after parsing.
Options to control the document behavior during parsing.
is .
does not represent a valid single JSON value.
A representation of the JSON value.
Parses one JSON value (including objects or arrays) from the provided reader.
The reader to read.
Options to control the behavior.
is using unsupported options.
The current token does not start or represent a value.
A value could not be read from the reader.
The from the reader.
Converts the current instance to string in JSON format.
Options to control the serialization behavior.
JSON representation of current instance.
Gets a string representation for the current value appropriate to the node type.
A string representation for the current value appropriate to the node type.
Write the into the provided as JSON.
The .
Options to control the serialization behavior.
The parameter is .
Gets or sets the element at the specified index.
The zero-based index of the element to get or set.
is less than 0 or is greater than the number of properties.
The current is not a .
Gets or sets the element with the specified property name.
If the property is not found, is returned.
The name of the property to return.
is .
The current is not a .
Options to control the behavior.
Gets the parent .
If there is no parent, is returned.
A parent can either be a or a .
Gets the root .
If the current is a root, is returned.
Options to control behavior.
Specifies whether property names on are case insensitive.
Represents a mutable JSON object.
Initializes a new instance of the class that contains the specified .
The properties to be added.
Options to control the behavior.
Initializes a new instance of the class that is empty.
Options to control the behavior.
Adds the specified property to the .
The KeyValuePair structure representing the property name and value to add to the .
An element with the same property name already exists in the .
The property name of is .
Adds an element with the provided property name and value to the .
The property name of the element to add.
The value of the element to add.
is .
An element with the same property name already exists in the .
Removes all elements from the .
Determines whether the contains an element with the specified property name.
The property name to locate in the .
is .
if the contains an element with the specified property name; otherwise, .
Initializes a new instance of the class that contains properties from the specified .
The .
Options to control the behavior.
The new instance of the class that contains properties from the specified .
Returns an enumerator that iterates through the .
An enumerator that iterates through the .
Removes the element with the specified property name from the .
The property name of the element to remove.
is .
if the element is successfully removed; otherwise, .
Determines whether the contains a specific property name and reference.
The element to locate in the .
if the contains an element with the property name; otherwise, .
Copies the elements of the to an array of type KeyValuePair starting at the specified array index.
The one-dimensional Array that is the destination of the elements copied from .
The zero-based index in at which copying begins.
is .
is less than 0.
The number of elements in the source ICollection is greater than the available space from to the end of the destination .
Removes a key and value from the .
The KeyValuePair structure representing the property name and value to remove from the .
if the element is successfully removed; otherwise, .
Gets the value associated with the specified property name.
The property name of the value to get.
When this method returns, contains the value associated with the specified property name, if the property name is found; otherwise, .
is .
if the contains an element with the specified property name; otherwise, .
Returns an enumerator that iterates through the .
An enumerator that iterates through the .
Returns the value of a property with the specified name.
The name of the property to return.
The JSON value of the property with the specified name.
if a property with the specified name was found; otherwise, .
Write the into the provided as JSON.
The .
Options to control the serialization behavior.
The parameter is .
Gets the number of elements contained in .
Returns .
Gets a collection containing the property names in the .
Gets a collection containing the property values in the .
Represents a mutable JSON value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The underlying value of the new instance.
Options to control the behavior.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The value to create.
Options to control the behavior.
The type of value to create.
The new instance of the class that contains the specified value.
Initializes a new instance of the class that contains the specified value.
The value to create.
The that will be used to serialize the value.
Options to control the behavior.
The type of value to create.
The new instance of the class that contains the specified value.
Tries to obtain the current JSON value and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The type of value to obtain.
if the value can be successfully obtained; otherwise, .
Specifies that the JSON type should have its method called after deserialization occurs.
The method that is called after deserialization.
Specifies that the type should have its method called before deserialization occurs.
The method that is called before deserialization.
Specifies that the type should have its method called after serialization occurs.
The method that is called after serialization.
Specifies that the type should have its method called before serialization occurs.
The method that is called before serialization.
Provides the base class for serialization attributes.
Creates a new instance of the .
When placed on a constructor, indicates that the constructor should be used to create instances of the type on deserialization.
Initializes a new instance of .
Converts an object or value to or from JSON.
When overridden in a derived class, determines whether the converter instance can convert the specified object type.
The type of the object to check whether it can be converted by this converter instance.
if the instance can convert the specified object type; otherwise, .
Converts an object or value to or from JSON.
The type of object or value handled by the converter.
Initializes a new instance.
Determines whether the specified type can be converted.
The type to compare against.
if the type can be converted; otherwise, .
Reads and converts the JSON to type .
The reader.
The type to convert.
An object that specifies serialization options to use.
The converted value.
Reads a dictionary key from a JSON property name.
The to read from.
The type to convert.
The options to use when reading the value.
The value that was converted.
Writes a specified value as JSON.
The writer to write to.
The value to convert to JSON.
An object that specifies serialization options to use.
Writes a dictionary key as a JSON property name.
The to write to.
The value to convert. The value of determines if the converter handles values.
The options to use when writing the value.
Indicates whether should be passed to the converter on serialization, and whether should be passed on deserialization.
When placed on a property or type, specifies the converter type to use.
Initializes a new instance of .
Initializes a new instance of with the specified converter type.
The type of the converter.
When overridden in a derived class and is , allows the derived class to create a in order to pass additional state.
The type of the converter.
The custom converter.
Gets the type of the , or if it was created without a type.
The type of the , or if it was created without a type.
Supports converting several types by using a factory pattern.
When overidden in a derived class, initializes a new instance of the class.
Creates a converter for a specified type.
The type handled by the converter.
The serialization options to use.
A converter for which is compatible with .
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.
Instantiates a new instance of the class.
Prevents a property from being serialized or deserialized.
Initializes a new instance of .
Specifies the condition that must be met before a property will be ignored.
Controls how the ignores properties on serialization and deserialization.
Property will always be ignored.
Property will always be serialized and deserialized, regardless of configuration.
Property will only be ignored if it is .
If the value is , the property is ignored during serialization. This is applied only to reference-type properties and fields.
Indicates that the member should be included for serialization and deserialization.
The attribute is applied to a non-public property.
Initializes a new instance of .
The to be used at run time.
Specifies that the built-in be used to convert JSON property names.
Specifies that JSON property names should not be converted.
Determines how handles numbers when serializing and deserializing.
The "NaN", "Infinity", and "-Infinity" tokens can be read as floating-point constants, and the and values for these constants will be written as their corresponding JSON string representations.
Numbers can be read from tokens. Does not prevent numbers from being read from token.
Numbers will only be read from tokens and will only be written as JSON numbers (without quotes).
Numbers will be written as JSON strings (with quotes), not as JSON numbers.
When placed on a type, property, or field, indicates what settings should be used when serializing or deserializing numbers.
Initializes a new instance of .
A bitwise combination of the enumeration values that specify how number types should be handled when serializing or deserializing.
Indicates what settings should be used when serializing or deserializing numbers.
An object that determines the number serialization and deserialization settings.
Specifies the property name that is present in the JSON when serializing and deserializing. This overrides any naming policy specified by .
Initializes a new instance of with the specified property name.
The name of the property.
Gets the name of the property.
The name of the property.
Specifies the property order that is present in the JSON when serializing. Lower values are serialized first.
If the attribute is not specified, the default value is 0.
Initializes a new instance of with the specified order.
The order of the property.
Gets the serialization order of the property.
Instructs the System.Text.Json source generator to generate source code to help optimize performance when serializing and deserializing instances of the specified type and types in its object graph.
Initializes a new instance of with the specified type.
The type to generate source code for.
Determines what the source generator should generate for the type. If the value is , then the setting specified on will be used.
The name of the property for the generated for the type on the generated, derived type.
Provides metadata about a set of types that is relevant to JSON serialization.
Creates an instance of and binds it with the indicated .
The run-time provided options for the context instance.
The default run-time options for the context. Its values are defined at design time via .
Returns a instance representing the given type.
The type to fetch metadata about.
The metadata for the specified type, or if the context has no metadata for the type.
Gets the run-time specified options of the context. If no options were passed when instanciating the context, then a new instance is bound and returned.
The generation mode for the System.Text.Json source generator.
When specified on , indicates that both type-metadata initialization logic and optimized serialization logic should be generated for all types. When specified on , indicates that the setting on should be used.
Instructs the JSON source generator to generate type-metadata initialization logic.
Instructs the JSON source generator to generate optimized serialization logic.
Instructs the System.Text.Json source generator to assume the specified options will be used at run time via .
Instructs the System.Text.Json source generator to assume the specified options will be used at run time via .
Gets or sets the default ignore condition.
Gets or sets the source generation mode for types that don't explicitly set the mode with .
Gets or sets a value that indicates whether to ignore read-only fields.
Gets or sets a value that indicates whether to ignore read-only properties.
Gets or sets a value that indicates whether to ignore custom converters provided at run time.
Gets or sets a value that indicates whether to include fields for serialization and deserialization.
Gets or sets a built-in naming policy to convert JSON property names with.
Gets or sets a value that indicates whether JSON output should be pretty-printed.
Converts enumeration values to and from strings.
Initializes an instance of the class with the default naming policy that allows integer values.
Initializes an instance of the class with a specified naming policy and a value that indicates whether undefined enumeration values are allowed.
The optional naming policy for writing enum values.
to allow undefined enum values; otherwise, . When , if an enum value isn't defined, it will output as a number rather than a string.
Determines whether the specified type can be converted to an enum.
The type to be checked.
if the type can be converted; otherwise, .
Creates a converter for the specified type.
The type handled by the converter.
The serialization options to use.
A converter for which is compatible with .
Defines how deserializing a type declared as an is handled during deserialization.
A type declared as is deserialized as a .
A type declared as is deserialized as a .
Provides helpers to create and initialize metadata for JSON-serializable types.
Creates metadata for an array.
The to use.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the element type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The type of the collection.
The generic definition of the element type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
The generic definition of the element type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the key type.
A instance representing the value type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
The generic definition of the key type.
The generic definition of the value type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
The generic definition of the element type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing instances.
A instance representing instances.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the key type.
A instance representing the value type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
The generic definition of the key type.
The generic definition of the value type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
The generic definition of the element type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
The generic definition of the element type.
Creates metadata for and types assignable to .
A to create an instance of the list when deserializing.
A instance representing the key type.
A instance representing the value type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
A method to create an immutable dictionary instance.
The generic definition of the type.
The generic definition of the key type.
The generic definition of the value type.
Creates metadata for non-dictionary immutable collection types.
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
A method to create an immutable dictionary instance.
The generic definition of the type.
The generic definition of the element type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the key type.
A instance representing the value type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
The generic definition of the key type.
The generic definition of the value type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
The generic definition of the element type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
The generic definition of the element type.
Creates metadata for a complex class or struct.
The to initialize the metadata with.
Provides serialization metadata about an object type with constructors, properties, and fields.
The type of the class or struct.
or is .
A instance representing the class or struct.
Creates metadata for a property or field.
The to initialize the metadata with.
Whether the CLR member is a property or field.
Whether the CLR member is public.
Whether the CLR member is a virtual property.
The declaring type of the property or field.
The info for the property or field's type.
A for the property or field, specified by .
Provides a mechanism to get the property or field's value.
Provides a mechanism to set the property or field's value.
Specifies a condition for the property to be ignored.
Whether the property was annotated with .
If the property or field is a number, specifies how it should processed when serializing and deserializing.
The CLR name of the property or field.
The name to be used when processing the property or field, specified by .
The type that the converter for the property returns or accepts when converting JSON data.
A instance intialized with the provided metadata.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
The generic definition of the element type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
The generic definition of the type.
The generic definition of the element type.
Creates metadata for types assignable to .
A to create an instance of the list when deserializing.
A instance representing the element type.
The option to apply to number collection elements.
An optimized serialization implementation assuming pre-determined defaults.
A method for adding elements to the collection when using the serializer's code-paths.
The generic definition of the type.
Creates metadata for a primitive or a type with a custom converter.
The generic type definition.
A instance representing the type.
Creates a instance that converts values.
The to use for serialization and deserialization.
The generic definition for the enum type.
Creates a instance that converts values.
Serialization metadata for the underlying nullable type.
The generic definition for the underlying nullable type.
Returns a instance that converts values.
Returns a instance that converts byte array values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Gets a JSON converter that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Gets a JSON converter that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Returns a instance that converts values.
Provides serialization metadata about an object type with constructors, properties, and fields.
The object type to serialize or deserialize.
Provides a mechanism to initialize metadata for a parameterized constructor of the class or struct to be used when deserializing.
Gets or sets an object that specifies how number properties and fields should be processed when serializing and deserializing.
Gets or sets a mechanism to create an instance of the class or struct using a parameterless constructor during deserialization.
Gets or sets a mechanism to create an instance of the class or struct using a parameterized constructor during deserialization.
Gets or sets a mechanism to initialize metadata for properties and fields of the class or struct.
Gets or sets a serialization implementation for instances of the class or struct that assumes options specified by .
Provides information about a constructor parameter required for JSON deserialization.
Gets or sets the default value of the parameter.
Gets or sets a value that specifies whether a default value was specified for the parameter.
Gets or sets the name of the parameter.
Gets or sets the type of the parameter.
Gets or sets the zero-based position of the parameter in the formal parameter list.
Provides JSON serialization-related metadata about a property or field.
Provides JSON serialization-related metadata about a type.
Provides JSON serialization-related metadata about a type.
The generic definition of the type.
A method that serializes an instance of using values specified at design time.
This class defines how the deals with references on serialization and deserialization.
Initializes a new instance of the class.
Returns the used for each serialization call.
The resolver to use for serialization and deserialization.
Ignores an object when a reference cycle is detected during serialization.
Metadata properties will be honored when deserializing JSON objects and arrays into reference types and written when serializing reference types. This is necessary to create round-trippable JSON from objects that contain cycles or duplicate references.
This class defines how the deals with references on serialization and deserialization.
The type of the to create on each serialization or deserialization call.
Initializes a new instance of the generic class that can create a instance of the specified type.
Creates a new of type used for each serialization call.
The new resolver to use for serialization and deserialization.
This class defines how the deals with references on serialization and deserialization.
Defines the core behavior of preserving references on serialization and deserialization.
Initializes a new instance of the class.
Adds an entry to the bag of references using the specified id and value.
This method gets called when an $id metadata property from a JSON object is read.
The identifier of the JSON object or array.
The value of the CLR reference type object that results from parsing the JSON object.
Gets the reference identifier of the specified value if exists; otherwise a new id is assigned.
This method gets called before a CLR object is written so we can decide whether to write $id and enumerate the rest of its properties or $ref and step into the next object.
The value of the CLR reference type object to get an id for.
When this method returns, if a reference to value already exists; otherwise, .
The reference id for the specified object.
Returns the CLR reference type object related to the specified reference id.
This method gets called when $ref metadata property is read.
The reference id related to the returned object.
The reference type object related to the specified reference id.
Provides a high-performance API for forward-only, read-only access to UTF-8 encoded JSON text.
Initializes a new instance of the structure that processes a read-only sequence of UTF-8 encoded text and indicates whether the input contains all the text to process.
The UTF-8 encoded JSON text to process.
to indicate that the input sequence contains the entire data to process; to indicate that the input span contains partial data with more data to follow.
An object that contains the reader state. If this is the first call to the constructor, pass the default state; otherwise, pass the value of the property from the previous instance of the .
Initializes a new instance of the structure that processes a read-only sequence of UTF-8 encoded text using the specified options.
The UTF-8 encoded JSON text to process.
Defines customized behavior of the that differs from the JSON RFC (for example how to handle comments or maximum depth allowed when reading). By default, the follows the JSON RFC strictly; comments within the JSON are invalid, and the maximum depth is 64.
Initializes a new instance of the structure that processes a read-only span of UTF-8 encoded text and indicates whether the input contains all the text to process.
The UTF-8 encoded JSON text to process.
to indicate that the input sequence contains the entire data to process; to indicate that the input span contains partial data with more data to follow.
An object that contains the reader state. If this is the first call to the constructor, pass the default state; otherwise, pass the value of the property from the previous instance of the .
Initializes a new instance of the structure that processes a read-only span of UTF-8 encoded text using the specified options.
The UTF-8 encoded JSON text to process.
Defines customized behavior of the that differs from the JSON RFC (for example how to handle comments or maximum depth allowed when reading). By default, the follows the JSON RFC strictly; comments within the JSON are invalid, and the maximum depth is 64.
Reads the next JSON token value from the source as a .
The value of the JSON token isn't a boolean value (that is, or ).
if the is ; if the is .
Parses the current JSON token value from the source as a .
The value of the JSON token is not a .
The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).
-or-
The JSON token value represents a number less than or greater than .
The value of the UTF-8 encoded token.
Parses the current JSON token value from the source and decodes the Base64 encoded JSON string as a byte array.
The type of the JSON token is not a .
The value is not encoded as Base64 text, so it can't be decoded to bytes.
-or-
The value contains invalid or more than two padding characters.
-or-
The value is incomplete. That is, the JSON string length is not a multiple of 4.
The byte array that represents the current JSON token value.
Parses the current JSON token value from the source as a comment, transcoded it as a .
The JSON token is not a comment.
The comment that represents the current JSON token value.
Reads the next JSON token value from the source and parses it to a .
The value of the JSON token isn't a .
The JSON token value cannot be read as a .
-or-
The entire UTF-8 encoded token value cannot be parsed to a value.
-or-
The JSON token value is of an unsupported format.
The date and time value, if the entire UTF-8 encoded token value can be successfully parsed.
Reads the next JSON token value from the source and parses it to a .
The value of the JSON token isn't a .
The JSON token value cannot be read as a .
-or-
The entire UTF-8 encoded token value cannot be parsed to a value.
-or-
The JSON token value is of an unsupported format.
The date and time offset, if the entire UTF-8 encoded token value can be successfully parsed.
Reads the next JSON token value from the source and parses it to a .
The JSON token value isn't a .
The JSON token value represents a number less than or greater than .
The UTF-8 encoded token value parsed to a .
Reads the next JSON token value from the source and parses it to a .
The JSON token value isn't a .
The JSON token value represents a number less than or greater than .
The UTF-8 encoded token value parsed to a .
Reads the next JSON token value from the source and parses it to a .
The value of the JSON token isn't a .
The JSON token value is in an unsupported format for a Guid.
-or-
The entire UTF-8 encoded token value cannot be parsed to a value.
The GUID value, if the entire UTF-8 encoded token value can be successfully parsed.
Parses the current JSON token value from the source as a .
The value of the JSON token is not a .
The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).
-or-
The JSON token value represents a number less than or greater than .
The UTF-8 encoded token value parsed to an .
Reads the next JSON token value from the source and parses it to an .
The JSON token value isn't a .
The JSON token value is of the incorrect numeric format. For example, it contains a decimal or is written in scientific notation.
-or-
The JSON token value represents a number less than or greater than .
The UTF-8 encoded token value parsed to an .
Reads the next JSON token value from the source and parses it to an .
The JSON token value isn't a .
The JSON token value is of the incorrect numeric format. For example, it contains a decimal or is written in scientific notation.
-or-
The JSON token value represents a number less than or greater than .
The UTF-8 encoded token value parsed to an .
Parses the current JSON token value from the source as an .
The value of the JSON token is not a .
The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).
-or-
The JSON token value represents a number less than or greater than .
The UTF-8 encoded token value parsed to an .
Reads the next JSON token value from the source and parses it to a .
The JSON token value isn't a .
The JSON token value represents a number less than or greater than .
The UTF-8 encoded token value parsed to a .
Reads the next JSON token value from the source, unescaped, and transcoded as a string.
The JSON token value isn't a string (that is, not a , , or ).
-or-
The JSON string contains invalid UTF-8 bytes or invalid UTF-16 surrogates.
The token value parsed to a string, or if is .
Parses the current JSON token value from the source as a .
The value of the JSON token is not a .
The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).
-or-
The JSON token value represents a number less than or greater than .
The UTF-8 encoded token value parsed to a .
Reads the next JSON token value from the source and parses it to a .
The JSON token value isn't a .
The JSON token value is of the incorrect numeric format. For example, it contains a decimal or is written in scientific notation.
-or-
The JSON token value represents a number less than or greater than .
The UTF-8 encoded token value parsed to a .
Reads the next JSON token value from the source and parses it to a .
The JSON token value isn't a .
The JSON token value is of the incorrect numeric format. For example, it contains a decimal or is written in scientific notation.
-or-
The JSON token value represents a number less than or greater than .
The UTF-8 encoded token value parsed to a .
Reads the next JSON token from the input source.
An invalid JSON token according to the JSON RFC is encountered.
-or-
The current depth exceeds the recursive limit set by the maximum depth.
if the token was read successfully; otherwise, .
Skips the children of the current JSON 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.
-or-
The current depth exceeds the recursive limit set by the maximum depth.
Tries to parse the current JSON token value from the source as a and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The JSON token value isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to a value; otherwise, .
Tries to parse the current JSON token value from the source and decodes the Base64 encoded JSON string as a byte array and returns a value that indicates whether the operation succeeded.
When this method returns, contains the decoded binary representation of the Base64 text.
The JSON token is not a .
if the entire token value is encoded as valid Base64 text and can be successfully decoded to bytes; otherwise, .
Tries to parse the current JSON token value from the source as a and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The value of the JSON token isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to a value; otherwise, .
Tries to parse the current JSON token value from the source as a and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The value of the JSON token isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to a value; otherwise, .
Tries to parse the current JSON token value from the source as a and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The JSON token value isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to a value; otherwise, .
Tries to parse the current JSON token value from the source as a and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The JSON token value isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to a value; otherwise, .
Tries to parse the current JSON token value from the source as a and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The value of the JSON token isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to a value; otherwise, .
Tries to parse the current JSON token value from the source as an and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The JSON token value isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to a value; otherwise, .
Tries to parse the current JSON token value from the source as an and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The JSON token value isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to an value; otherwise, .
Tries to parse the current JSON token value from the source as an and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The JSON token value isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to an value; otherwise, .
Tries to parse the current JSON token value from the source as an and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The JSON token value isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to an value; otherwise, .
Tries to parse the current JSON token value from the source as a and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The JSON token value isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to an value; otherwise, .
Tries to parse the current JSON token value from the source as a and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The JSON token value isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to a value; otherwise, .
Tries to parse the current JSON token value from the source as a and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The JSON token value isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to a value; otherwise, .
Tries to parse the current JSON token value from the source as a and returns a value that indicates whether the operation succeeded.
When this method returns, contains the parsed value.
The JSON token value isn't a .
if the entire UTF-8 encoded token value can be successfully parsed to a value; otherwise, .
Tries to skip the children of the current JSON token.
An invalid JSON token was encountered while skipping, according to the JSON RFC.
-or -
The current depth exceeds the recursive limit set by the maximum depth.
if there was enough data for the children to be skipped successfully; otherwise, .
Compares the UTF-8 encoded text in a read-only byte span to the unescaped JSON token value in the source and returns a value that indicates whether they match.
The UTF-8 encoded text to compare against.
The JSON token is not a JSON string (that is, it is not or ).
if the JSON token value in the source matches the UTF-8 encoded lookup text; otherwise, .
Compares the text in a read-only character span to the unescaped JSON token value in the source and returns a value that indicates whether they match.
The text to compare against.
The JSON token is not a JSON string (that is, it is not or ).
if the JSON token value in the source matches the lookup text; otherwise, .
Compares the string text to the unescaped JSON token value in the source and returns a value that indicates whether they match.
The text to compare against.
The JSON token is not a JSON string (that is, it is not or ).
if the JSON token value in the source matches the lookup text; otherwise, .
Gets the total number of bytes consumed so far by this instance of the .
The total number of bytes consumed so far.
Gets the depth of the current token.
The depth of the current token.
Gets the current state to pass to a constructor with more data.
The current reader state.
Gets a value that indicates which Value property to use to get the token value.
if should be used to get the token value; if should be used instead.
Gets the mode of this instance of the which indicates whether all the JSON data was provided or there is more data to come.
if the reader was constructed with the input span or sequence containing the entire JSON data to process; if the reader was constructed with an input span or sequence that may contain partial JSON data with more data to follow.
Gets the current within the provided UTF-8 encoded input ReadOnlySequence<byte> or a default if the struct was constructed with a ReadOnlySpan<byte>.
The current within the provided UTF-8 encoded input ReadOnlySequence<byte> or a default if the struct was constructed with a ReadOnlySpan<byte>.
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.
Gets the type of the last processed JSON token in the UTF-8 encoded JSON text.
The type of the last processed JSON token.
Gets the raw value of the last processed token as a ReadOnlySequence<byte> slice of the input payload, only if the token is contained within multiple segments.
A byte read-only sequence.
Gets the raw value of the last processed token as a ReadOnlySpan<byte> slice of the input payload, if the token fits in a single segment or if the reader was constructed with a JSON payload contained in a ReadOnlySpan<byte>.
A read-only span of bytes.
Provides a high-performance API for forward-only, non-cached writing of UTF-8 encoded JSON text.
Initializes a new instance of the class using the specified to write the output to and customization options.
The destination for writing JSON text.
Defines the customized behavior of the . By default, it writes minimized JSON (with no extra white space) and validates that the JSON being written is structurally valid according to the JSON RFC.
is .
Initializes a new instance of the class using the specified stream to write the output to and customization options.
The destination for writing JSON text.
Defines the customized behavior of the . By default, it writes minimized JSON (with no extra white space) and validates that the JSON being written is structurally valid according to the JSON RFC.
is .
Commits any leftover JSON text that has not yet been flushed and releases all resources used by the current instance.
Asynchronously commits any leftover JSON text that has not yet been flushed and releases all resources used by the current instance.
A task representing the asynchronous dispose operation.
Commits the JSON text written so far, which makes it visible to the output destination.
This instance has been disposed.
Asynchronously commits the JSON text written so far, which makes it visible to the output destination.
The token to monitor for cancellation requests. The default value is .
This instance has been disposed.
A task representing the asynchronous flush operation.
Resets the internal state of this instance so that it can be reused.
This instance has been disposed.
Resets the internal state of this instance so that it can be reused with a new instance of .
The destination for writing JSON text.
is .
This instance has been disposed.
Resets the internal state of this instance so that it can be reused with a new instance of .
The destination for writing JSON text.
is .
This instance has been disposed.
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.
The UTF-8 encoded name of the property to write.
The binary data to write as Base64 encoded text.
The specified property name or value is too large.
Validation is enabled, and this method would result in writing invalid JSON.
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.
The property name of the JSON object to be transcoded and written as UTF-8.
The binary data to write as Base64 encoded text.
The specified property name or value is too large.
Validation is enabled, and this method would result in writing invalid JSON.
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.
The property name of the JSON object to be transcoded and written as UTF-8.
The binary data to write as Base64 encoded text.
The specified property name or value is too large.
Validation is enabled, and this method would result in writing invalid JSON.
The parameter is .
Writes the pre-encoded property name and raw bytes value (as a Base64 encoded JSON string) as part of a name/value pair of a JSON object.
The JSON-encoded name of the property to write.
The binary data to write as Base64 encoded text.
The specified value is too large.
Validation is enabled, and this method would result in writing invalid JSON.
Writes the raw bytes value as a Base64 encoded JSON string as an element of a JSON array.
The binary data to be written as a Base64 encoded JSON string element of a JSON array.
The specified value is too large.
Validation is enabled, and this method would result in writing invalid JSON.
Writes a property name specified as a read-only span of bytes and a value (as a JSON literal true or false) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The value to be written as a JSON literal true or false as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a property name specified as a read-only character span and a value (as a JSON literal true or false) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON literal true or false as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a property name specified as a string and a value (as a JSON literal true or false) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON literal true or false as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the operation would result in writing invalid JSON.
The parameter is .
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.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON literal true or false as part of the name/value pair.
Validation is enabled, and this method would result in writing invalid JSON.
Writes a value (as a JSON literal true or false) as an element of a JSON array.
The value to be written as a JSON literal true or false as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a UTF-8 text value as a JSON comment.
The UTF-8 encoded value to be written as a JSON comment within /*..*/.
The specified value is too large.
-or-
contains a comment delimiter (that is, */).
Writes a UTF-16 text value as a JSON comment.
The UTF-16 encoded value to be written as a UTF-8 transcoded JSON comment within /*..*/.
The specified value is too large.
-or-
contains a comment delimiter (that is, */).
Writes a string text value as a JSON comment.
The UTF-16 encoded value to be written as a UTF-8 transcoded JSON comment within /*..*/.
The specified value is too large.
-or-
contains a comment delimiter (that is, */).
The parameter is .
Writes the end of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes the end of a JSON object.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a property name specified as a read-only span of bytes and the JSON literal null as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only character span and the JSON literal null as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a string and the JSON literal null as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes the pre-encoded property name and the JSON literal null as part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
Validation is enabled, and this method would result in writing invalid JSON.
Writes the JSON literal null as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a property name specified as a read-only span of bytes and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only span of bytes and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only span of bytes and an value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only span of bytes and an value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only span of bytes and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only span of bytes and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only span of bytes and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only character span and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only character span and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only character span and an value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only character span and an value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only character span and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only character span and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only character span and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a string and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes a property name specified as a string and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes a property name specified as a string and an value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes a property name specified as a string and an value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes a property name specified as a string and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes a property name specified as a string and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes a property name specified as a string and a value (as a JSON number) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
Validation is enabled, and this method would result in writing invalid JSON.
Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
Validation is enabled, and this method would result in writing invalid JSON.
Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
Validation is enabled, and this method would result in writing invalid JSON.
Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
Validation is enabled, and this method would result in writing invalid JSON.
Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
Validation is enabled, and this method would result in writing invalid JSON.
Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
Validation is enabled, and this method would result in writing invalid JSON.
Writes the pre-encoded property name and value (as a JSON number) as part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON number as part of the name/value pair.
Validation is enabled, and this method would result in writing invalid JSON.
Writes a value (as a JSON number) as an element of a JSON array.
The value to be written as a JSON number as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a value (as a JSON number) as an element of a JSON array.
The value to be written as a JSON number as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes an value (as a JSON number) as an element of a JSON array.
The value to be written as a JSON number as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes an value (as a JSON number) as an element of a JSON array.
The value to be written as a JSON number as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a value (as a JSON number) as an element of a JSON array.
The value to be written as a JSON number as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a value (as a JSON number) as an element of a JSON array.
The value to be written as a JSON number as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a value (as a JSON number) as an element of a JSON array.
The value to be written as a JSON number as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes the UTF-8 property name (as a JSON string) as the first part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The specified property name is too large.
Validation is enabled, and this write operation would produce invalid JSON.
Writes the property name (as a JSON string) as the first part of a name/value pair of a JSON object.
The property name of the JSON object to be transcoded and written as UTF-8.
The specified property name is too large.
Validation is enabled, and this write operation would produce invalid JSON.
Writes the property name (as a JSON string) as the first part of a name/value pair of a JSON object.
The property name of the JSON object to be transcoded and written as UTF-8.
The specified property name is too large.
Validation is enabled, and this write operation would produce invalid JSON.
is .
Writes the pre-encoded property name (as a JSON string) as the first part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
Validation is enabled, and this write operation would produce invalid JSON.
Writes the input as JSON content. It is expected that the input content is a single complete JSON value.
The raw JSON content to write.
to validate if the input is an RFC 8259-compliant JSON payload; otherwise.
The length of the input is zero or equal to .
is , and the input is not a valid, complete, single JSON value according to the JSON RFC, or the input JSON exceeds a recursive depth of 64.
Writes the input as JSON content. It is expected that the input content is a single complete JSON value.
The raw JSON content to write.
to validate if the input is an RFC 8259-compliant JSON payload; otherwise.
The length of the input is zero or greater than 715,827,882 ( / 3).
is , and the input is not a valid, complete, single JSON value according to the JSON RFC, or the input JSON exceeds a recursive depth of 64.
Writes the input as JSON content. It is expected that the input content is a single complete JSON value.
The raw JSON content to write.
to validate if the input is an RFC 8259-compliant JSON payload; otherwise.
is .
The length of the input is zero or greater than 715,827,882 ( / 3).
is , and the input is not a valid, complete, single JSON value according to the JSON RFC, or the input JSON exceeds a recursive depth of 64.
Writes the beginning of a JSON array.
The depth of the JSON exceeds the maximum depth of 1,000.
-or-
Validation is enabled, and this write operation would produce invalid JSON.
Writes the beginning of a JSON array with a property name specified as a read-only span of bytes as the key.
The UTF-8 encoded property name of the JSON array to be written.
The specified property name is too large.
The depth of the JSON exceeds the maximum depth of 1,000.
-or-
Validation is enabled, and this write operation would produce invalid JSON.
Writes the beginning of a JSON array with a property name specified as a read-only character span as the key.
The UTF-16 encoded property name of the JSON array to be transcoded and written as UTF-8.
The specified property name is too large.
The depth of the JSON exceeds the maximum depth of 1,000.
-or-
Validation is enabled, and this write operation would produce invalid JSON.
Writes the beginning of a JSON array with a property name specified as a string as the key.
The UTF-16 encoded property name of the JSON array to be transcoded and written as UTF-8.
The specified property name is too large.
The depth of the JSON exceeds the maximum depth of 1,000.
-or-
Validation is enabled, and this write operation would produce invalid JSON.
The parameter is .
Writes the beginning of a JSON array with a pre-encoded property name as the key.
The JSON encoded property name of the JSON array to be transcoded and written as UTF-8.
The depth of the JSON has exceeded the maximum depth of 1,000.
-or-
Validation is enabled, and this method would result in writing invalid JSON.
Writes the beginning of a JSON object.
The depth of the JSON exceeds the maximum depth of 1,000.
-or-
Validation is enabled, and the operation would result in writing invalid JSON.
Writes the beginning of a JSON object with a property name specified as a read-only span of bytes as the key.
The UTF-8 encoded property name of the JSON object to be written.
The specified property name is too large.
The depth of the JSON exceeds the maximum depth of 1,000.
-or-
Validation is enabled, and this write operation would produce invalid JSON.
Writes the beginning of a JSON object with a property name specififed as a read-only character span as the key.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The specified property name is too large.
The depth of the JSON exceeds the maximum depth of 1,000.
-or-
Validation is enabled, and this write operation would produce invalid JSON.
Writes the beginning of a JSON object with a property name specified as a string as the key.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The specified property name is too large.
The depth of the JSON exceeds the maximum depth of 1,000.
-or-
Validation is enabled, and this write operation would produce invalid JSON.
The parameter is .
Writes the beginning of a JSON object with a pre-encoded property name as the key.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The depth of the JSON has exceeded the maximum depth of 1,000.
-or-
Validation is enabled, and this method would result in writing invalid JSON.
Writes a UTF-8 property name and a value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The value to be written as a JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a UTF-8 property name and a value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The value to be written as a JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a UTF-8 property name and a value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The value to be written as a JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a UTF-8 property name and UTF-8 text value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The UTF-8 encoded value to be written as a JSON string as part of the name/value pair.
The specified property name or value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a UTF-8 property name and UTF-16 text value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The UTF-16 encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
The specified property name or value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a UTF-8 property name and string text value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-8 encoded property name of the JSON object to be written.
The UTF-16 encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
The specified property name or value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
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 UTF-8 encoded property name of the JSON object to be written.
The JSON encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and this method would result in writing invalid JSON.
Writes a property name specified as a read-only character span and a value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only character span and a value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a read-only character span and a value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a UTF-16 property name and UTF-8 text value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The UTF-8 encoded value to be written as a JSON string as part of the name/value pair.
The specified property name or value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a UTF-16 property name and UTF-16 text value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The UTF-16 encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
The specified property name or value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a UTF-16 property name and string text value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The UTF-16 encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
The specified property name or value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes the property name and pre-encoded value (as a JSON string) as part of a name/value pair of a JSON object.
The property name of the JSON object to be transcoded and written as UTF-8.
The JSON encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a property name specified as a string and a value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes a property name specified as a string and a value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes a property name specified as a string and a value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes a property name specified as a string and a UTF-8 text value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The UTF-8 encoded value to be written as a JSON string as part of the name/value pair.
The specified property name or value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes a property name specified as a string and a UTF-16 text value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The UTF-16 encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
The specified property name or value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes a property name specified as a string and a string text value (as a JSON string) as part of a name/value pair of a JSON object.
The UTF-16 encoded property name of the JSON object to be transcoded and written as UTF-8.
The UTF-16 encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
The specified property name or value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes the property name and pre-encoded value (as a JSON string) as part of a name/value pair of a JSON object.
The property name of the JSON object to be transcoded and written as UTF-8.
The JSON encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
The specified property name is too large.
Validation is enabled, and the write operation would produce invalid JSON.
The parameter is .
Writes the pre-encoded property name and value (as a JSON string) as part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON string as part of the name/value pair.
Validation is enabled, and the write operation would produce invalid JSON.
Writes the pre-encoded property name and value (as a JSON string) as part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON string as part of the name/value pair.
Validation is enabled, and the write operation would produce invalid JSON.
Writes the pre-encoded property name and value (as a JSON string) as part of a name/value pair of a JSON object.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a JSON string as part of the name/value pair.
Validation is enabled, and the write operation would produce invalid JSON.
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 JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The UTF-8 encoded value to be written as a JSON string as part of the name/value pair.
The specified value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
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 JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
The specified value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
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 JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
The specified value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
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.
The JSON encoded property name of the JSON object to be transcoded and written as UTF-8.
The JSON encoded value to be written as a UTF-8 transcoded JSON string as part of the name/value pair.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a value (as a JSON string) as an element of a JSON array.
The value to be written as a JSON string as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a value (as a JSON string) as an element of a JSON array.
The value to be written as a JSON string as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a value (as a JSON string) as an element of a JSON array.
The value to be written as a JSON string as an element of a JSON array.
Validation is enabled, and the operation would result in writing invalid JSON.
Writes a UTF-8 text value (as a JSON string) as an element of a JSON array.
The UTF-8 encoded value to be written as a JSON string element of a JSON array.
The specified value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a UTF-16 text value (as a JSON string) as an element of a JSON array.
The UTF-16 encoded value to be written as a UTF-8 transcoded JSON string element of a JSON array.
The specified value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes a string text value (as a JSON string) as an element of a JSON array.
The UTF-16 encoded value to be written as a UTF-8 transcoded JSON string element of a JSON array.
The specified value is too large.
Validation is enabled, and the write operation would produce invalid JSON.
Writes the pre-encoded text value (as a JSON string) as an element of a JSON array.
The JSON encoded value to be written as a UTF-8 transcoded JSON string element of a JSON array.
Validation is enabled, and the write operation would produce invalid JSON.
Gets the total number of bytes committed to the output by the current instance so far.
The total number of bytes committed to the output by the so far.
Gets the number of bytes written by the so far that have not yet been flushed to the output and committed.
The number of bytes written so far by the that have not yet been flushed to the output and committed.
Gets the depth of the current token.
The depth of the current token.
Gets the custom behavior when writing JSON using this instance, which indicates whether to format the output while writing, whether to skip structural JSON validation, and which characters to escape.
The custom behavior of this instance of the writer for formatting, validating, and escaping.