kind library
A data reflection and serialization library.
See Kind and its subclasses like ImmutableKind.
Classes
- BigIntKind
- Kind for BigInt.
- BoolKind
- Kind for bool.
-
CompositeKind<
T, B> - Abstract Kind for composite types.
- DateTimeKind
- Kind for DateTime.
-
DelegatingKind<
T> -
Base class for delegating kind implementations such as
AliasKind
. - DurationKind
- Kind for Duration.
-
EnumKind<
T extends Enum> - Kind for Enum subclasses.
-
EnumLikeKind<
T> - Kind for Enum-like classes that do not implement Enum.
-
FieldMirror<
T> - Information about a field.
- FloatKind
- Kind for double.
- HasKind
- Interface for classes that can tell their Kind.
-
ImmutableKind<
T> - Kind for immutable objects.
- InstanceMirror
- Provides access to fields of some object.
- IntKind
- Kind for int.
- JsonObjectDecodingMapper
- A Mapper that decodes a JSON object.
- JsonObjectEncodingMapper
- A Mapper that encodes a JSON object.
-
Kind<
T> -
Describes how to construct an instance of some type
T
. -
ListKind<
E> - Kind for List.
-
MapKind<
K, V> - Kind for Map.
- Mapper
-
Maps constructor arguments of an
Immutable
instance. - MemoryCounter
- Counts memory usage.
-
NullableKind<
T> - Kind for nullable types.
-
PolymorphicKind<
T> - Kind for situations when an instance is one of several possible kinds.
-
SetKind<
E> - Kind for Set.
-
SimpleKind<
T> - A simple API for customizing behavior of another kind.
- StringKind
- Kind for String.
-
Trait<
T> - Field metadata that you can attach when you use ImmutableKind or similar kind.
-
Tuple2Kind<
T0, T1> - Kind for bool.
- Uint8ListKind
- Walkable
- A class that has walk for mapping its fields.
Enums
Mixins
-
ComparableKindMixin<
T extends Comparable> - Mixin for Kind classes of Comparable values.
-
PrimitiveKindMixin<
T> - Mixin for Kind classes of primitive values.
Typedefs
-
WalkFunction<
T> = T Function(Mapper f, T t) - Function that constructs a new instance by mapping constructor arguments of an existing instance.
Exceptions / Errors
- JsonDecodingError
- Error that may be thrown by Kind.decodeJsonTree.