]> git.basschouten.com Git - openhab-addons.git/commit
[mqtt.homeassistant] Include the details of JSON syntax errors when parsing fails...
authorCody Cutrer <cody@cutrer.us>
Fri, 20 Sep 2024 18:47:20 +0000 (12:47 -0600)
committerGitHub <noreply@github.com>
Fri, 20 Sep 2024 18:47:20 +0000 (20:47 +0200)
commitab2daded4c2d960a07e0eca64927ed8dde95c802
treece65946ae0557f01fcfd8f6f2c9b860383a044cd
parentdeca335cefbb4349ebe1dfbe6c99f48f112d27e0
[mqtt.homeassistant] Include the details of JSON syntax errors when parsing fails (#17452)

While it's useful in general to not have to copy/paste a MQTT message into a JSON
parser to verify syntax, it also includes details about fields that are the wrong
data type that a generic JSON parser won't catch. A la #17375.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
bundles/org.openhab.binding.mqtt.homeassistant/src/main/java/org/openhab/binding/mqtt/homeassistant/internal/config/dto/AbstractChannelConfiguration.java