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.​JsonSerializerContext
Assembly: System.Text.Json
Inheritance: object → JsonSerializerContext
Implemented Interfaces
Provides metadata about a set of types that is relevant to JSON serialization.
Properties
protected
JsonSerializerOptions
GeneratedSerializerOptions
Gets the default run-time options for the context.
public
JsonSerializerOptions
Options
Gets the run-time specified options of the context. If no options were passed when instantiating the context, then a new instance is bound and returned.
Methods
Returns The metadata for the specified type, or <see langword="null" /> if the context has no metadata for the type.
type
The type to fetch metadata for.
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