val gameLoaded = SignalInfo("gameLoaded", Dictionary::class.java)
val conflictEmitted = SignalInfo("conflictEmitted", Dictionary::class.java)
Currently, these signal supports only Dictionary as its payload type. However, there are scenarios where it would be beneficial to support JSON strings as well. This enhancement request aims to broaden the flexibility of signal information by allowing JSON strings alongside dictionaries.
It would be great to have JSON as signal parameter, especially when dealing with external systems (in my case C#).
Maybe something like this with JSON support
val gameLoadedWithJSON = SignalInfo("gameLoadedWithJson", String::class.java,)
val conflictEmittedWithJSON = SignalInfo("conflictEmittedWithJson", String::class.java)
Currently, these signal supports only
Dictionary
as its payload type. However, there are scenarios where it would be beneficial to supportJSON
strings as well. This enhancement request aims to broaden the flexibility of signal information by allowing JSON strings alongside dictionaries. It would be great to haveJSON
as signal parameter, especially when dealing with external systems (in my caseC#
).Maybe something like this with JSON support