SerializationContext class

Describes a set of data / state to be re-used down the road of recursive process of Serialization

Inheritance

Constructors

SerializationContext(SerializationOptions options, {int level = 0, dynamic jsonPropertyMeta, dynamic classMeta, dynamic typeInfo, dynamic parentJsonMaps, dynamic parentObjectInstance})
const

Properties

caseStyle CaseStyle?
no setterinherited
classMeta Json?
finalinherited
direction ConversionDirection
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
jsonPropertyMeta JsonProperty?
finalinherited
level int
Recursion nesting level, 0 = top object, 1 = object's property, and so on
final
options DeserializationOptions
finalinherited
parentJsonMaps Iterable<JsonMap>?
finalinherited
parentObjectInstances Iterable<Object>?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serializationOptions SerializationOptions
no setter
sourceCaseStyle CaseStyle?
no setterinherited
targetCaseStyle CaseStyle?
no setterinherited
typeInfo TypeInfo?
finalinherited

Methods

getParentCaseStyle() CaseStyle?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reBuild({int? level, JsonProperty? jsonPropertyMeta, Json? classMeta, TypeInfo? typeInfo, Iterable<JsonMap>? parentJsonMaps, Iterable<Object>? parentObjectInstances}) DeserializationContext
override
toString() String
A string representation of this object.
inherited
transformIdentifier(String name) String
inherited

Operators

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