jean
05/23/2022, 8:54 PMSerializersModule to look for an attribute called name instead of type without registering a custom serializer?jean
05/23/2022, 8:57 PM"attributes": [
  {
    "name": "attribute1",
    "value": 22.68
  },
  {
    "name": "attribute2",
    "value": false
  },
  {
    "name": "attribute3",
    "value": "test"
  },
  ...
]ephemient
05/23/2022, 9:01 PMephemient
05/23/2022, 9:27 PM"attributes": {
  "attribute1": 22.68,
  "attribute2", false,
  "attribute3", "test",
  ...
},
instead of going through polymorphic serialization?jean
05/23/2022, 9:56 PM@JsonClassDiscriminator("message_type") is probably the way to go for mejean
05/23/2022, 9:57 PM