Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


JsonConverter Class

Definition

Converts an object or value to or from JSON.

public abstract 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

Termék Verziók
.NET Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)