79829983

Date: 2025-11-25 16:47:00
Score: 2
Natty:
Report link

I wish I could figure out how the new stackoverflow "reply" system works. But will use this for the moment.

@Artem Bilan, the thing is that setting the Class as String returns

{"action":"2_single","battery":100,"linkquality":232,"voltage":3000}

plus I would assume that having an empty pojo with a no args constructor (maybe this is where I'm mistaking) should still fire.

But even if not, the class had lombok's noArgs+allArgs+data. So it shouldn't be a problem (I really don't want to dive deep into understanding how

MappingJackson2MessageConverter

works.

For a test project. I will try to come up with something on the weekends.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Artem
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Draaksward