JsonConverter<T> class abstract

Abstract class defining the structure of a generic JSON converter.

Constructors

JsonConverter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canConvert(TypeInfo type) bool
Checks if the converter can handle the provided type.
convert(dynamic value, TypeInfo type, JsonSerializerOptions options) → T
Converts the given value to type T.
convertNull(dynamic value, TypeInfo type, JsonSerializerOptions options) → T?
Converts a null value of the provided type to type T.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited