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.​JsonConverter

Assembly: System.Text.Json

Inheritance: object → JsonConverter

Converts an object or value to or from JSON.

Properties

public Type
Type
Gets the type being converted by the current converter instance.

Methods

public bool
CanConvert​(Type typeToConvert)
When overridden in a derived class, determines whether the converter instance can convert the specified object type.
Returns <see langword="true" /> if the instance can convert the specified object type; otherwise, <see langword="false" /> .
typeToConvert The type of the object to check whether it can be converted by this converter instance.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object