Your case seems simple where there's always a JSON...
# squarelibraries
j
Your case seems simple where there's always a JSON key that acts as a discriminator whose value determines the shape and thus the type to deserialize. Its documentation should get you pretty far. You'll register it twice, once for
Trigger
and then once for
Condition
.