serialize abstract method
Iterable<Object?>
serialize(
- Serializers serializers,
- T object, {
- FullType specifiedType = FullType.unspecified,
Serializes object
.
Use serializers
as needed for nested serialization. Information about
the type being serialized is provided in specifiedType
.
Returns an Iterable of values that can be represented as structured JSON: booleans, integers, doubles, Strings and Iterables.
TODO(davidmorgan): document the wire format.
Implementation
Iterable<Object?> serialize(Serializers serializers, T object,
{FullType specifiedType = FullType.unspecified});