JsonCollectionInfoValues<TCollection> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides serialization metadata about a collection type.
generic <typename TCollection>
public ref class JsonCollectionInfoValues sealed
public sealed class JsonCollectionInfoValues<TCollection>
type JsonCollectionInfoValues<'Collection> = class
Public NotInheritable Class JsonCollectionInfoValues(Of TCollection)
Type Parameters
- TCollection
The collection type.
- Inheritance
-
JsonCollectionInfoValues<TCollection>
Remarks
This API is intended for use by the output of the System.Text.Json source generator and should not be called directly.
Constructors
JsonCollectionInfoValues<TCollection>() |
Properties
ElementInfo |
A JsonTypeInfo instance representing the element type. |
KeyInfo |
If a dictionary type, the JsonTypeInfo instance representing the key type. |
NumberHandling |
The JsonNumberHandling option to apply to number collection elements. |
ObjectCreator |
A Func<TResult> to create an instance of the collection when deserializing. |
SerializeHandler |
An optimized serialization implementation assuming pre-determined JsonSourceGenerationOptionsAttribute defaults. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |