The StateEvent implementation.
Decode a value from a serial payload.
Decode the payload back to the original object.
Encode a value to a serial payload.
Encode the payload as a JSON state.
Helper to get an instance of the Serialization service.
Return 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