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.

struct System.​Text.​Json.​Schema.​JsonSchemaExporterContext

Assembly: System.Text.Json

Defines the context in which a JSON schema within a type graph is being generated.

Properties

Gets the type info for the polymorphic base type if generated as a derived type.
Gets the <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo" /> if the schema is being generated for a property.
public ReadOnlySpan<​string>
Path
Gets the path to the schema document currently being generated.
Gets the <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo" /> for the type being processed.

Methods

public bool
Equals​(object obj)
Inherited from ValueType
public int
GetHashCode​()
Inherited from ValueType
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object