Ignore relay in json output if null

This commit is contained in:
AsamK 2021-01-17 12:36:11 +01:00
parent a28ad7195c
commit c440520ea6

View file

@ -20,6 +20,7 @@ public class JsonMessageEnvelope {
final Integer sourceDevice; final Integer sourceDevice;
@JsonProperty @JsonProperty
@JsonInclude(JsonInclude.Include.NON_NULL)
final String relay; final String relay;
@JsonProperty @JsonProperty