Lukasz Kalnik
07/28/2022, 3:59 PMTrigger
and Condition
types with @ToJson
and @FromJson
function implementations. I then registered them both with Moshi using add()
, but then the internal Condition
object was serialized as plain string (with all the JSON symbols like {}
etc. escaped with \
).