Readonly
eventThe StateEvent implementation.
Protected
Readonly
injectorDecode a value from a serial payload.
Protected
decodeDecode the payload back to the original object.
Encode a value to a serial payload.
Protected
encodeEncode the payload as a JSON state.
Protected
getProtected
getProtected
getHelper to get an instance of the Serialization service.
Protected
makeReturn true if the value can be encoded by this serializer.
Return true if the serial payload can be decoded by this serializer.
Generic serializer implementation for StateEvents. Note that this is NOT registered with @ObjectSerializer() because we need to create an instance of this class for EACH implementation of StateEvent. Still working that one out. For now, you'll need to manually register the serializer. You can do this with the
getSerializer
method.Example