Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Text.​Json.​Serialization.​Metadata.​DefaultJsonTypeInfoResolver
Assembly: System.Text.Json
Inheritance: object → DefaultJsonTypeInfoResolver
Implemented Interfaces
Defines the default, reflection-based JSON contract resolver used by System.Text.Json.
Properties
public
Collections.​Generic.​IList<​Action<​JsonTypeInfo>>
Modifiers
Gets a list of user-defined callbacks that can be used to modify the initial contract.
Methods
public
JsonTypeInfo
GetTypeInfo​(Type type,
JsonSerializerOptions options)
Resolves a JSON contract for a given <paramref name="type" /> and <paramref name="options" /> configuration.
Returns A <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo" /> defining a reflection-derived JSON contract for <paramref name="type" /> .
type
The type for which to resolve a JSON contract.
options
A <see cref="T:System.Text.Json.JsonSerializerOptions" /> instance used to determine contract configuration.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object