DefaultJsonTypeInfoResolver 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.
Defines the default, reflection-based JSON contract resolver used by System.Text.Json.
public ref class DefaultJsonTypeInfoResolver : System::Text::Json::Serialization::Metadata::IJsonTypeInfoResolver
public class DefaultJsonTypeInfoResolver : System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
type DefaultJsonTypeInfoResolver = class
interface IJsonTypeInfoResolver
Public Class DefaultJsonTypeInfoResolver
Implements IJsonTypeInfoResolver
- Inheritance
-
DefaultJsonTypeInfoResolver
- Implements
Remarks
The contract resolver used by Default.
Constructors
DefaultJsonTypeInfoResolver() |
Creates a mutable DefaultJsonTypeInfoResolver instance. |
Properties
Modifiers |
Gets a list of user-defined callbacks that can be used to modify the initial contract. |
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) |
GetTypeInfo(Type, JsonSerializerOptions) |
Resolves a JSON contract for a given |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
WithAddedModifier(IJsonTypeInfoResolver, Action<JsonTypeInfo>) |
Creates a resolver and applies modifications to the metadata generated by the source |