Edit

Share via


JsonConverter Class

Definition

Converts an object or value to or from JSON.

public ref class JsonConverter abstract
public abstract class JsonConverter
type JsonConverter = class
Public MustInherit Class JsonConverter
Inheritance
JsonConverter
Derived

Remarks

For more information, see How to write custom converters for JSON serialization.

Properties

Type

Gets the type being converted by the current converter instance.

Methods

CanConvert(Type)

When overridden in a derived class, determines whether the converter instance can convert the specified object type.

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)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to