Thank you! I registered a custom Adapter for both ...
# squarelibraries
l
Thank you! I registered a custom Adapter for both
Trigger
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
\
).