From cdbfac281c127119f2f45f67223dab8cfc5f2c6c Mon Sep 17 00:00:00 2001 From: Jem Bishop <40360024+jembishop@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:20:04 +0100 Subject: [PATCH] Add in display description --- src/main/java/pvws/ws/Vtype2Json.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/pvws/ws/Vtype2Json.java b/src/main/java/pvws/ws/Vtype2Json.java index 8f48c79..9bd4380 100644 --- a/src/main/java/pvws/ws/Vtype2Json.java +++ b/src/main/java/pvws/ws/Vtype2Json.java @@ -143,6 +143,7 @@ private static void handleDisplay(final JsonGenerator g, final Display display) return; g.writeStringField("units", display.getUnit()); + g.writeStringField("description", display.getDescription()); final NumberFormat format = display.getFormat(); if (format instanceof DecimalFormat)