JsonEncoding class

@fileoverview Encoding for JSON

Inheritance

Constructors

JsonEncoding()

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

decode(String encodedPayload) MarshalledObject
Asymmetric: It is necessary for the client to provide context to deserialize back to Object.
inherited
encode(MarshalledObject payload) String
We provide all serialization from Object to T.
inherited
encodeDartObject(Object? dartObject) String
Convenience to encode a Dart object
inherited
fromIntermediateToFormat(MarshalledObject intermediateFormat) String
abstract method
override
getContentType() String
Provide MIME type
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toIntermediateFromFormat(String? encodedPayload) MarshalledObject
abstract method
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance JsonEncoding
Singleton instance.
final