Skip to content

Commit

Permalink
Merge pull request #17 from jembishop/patch-1
Browse files Browse the repository at this point in the history
Add in display description
  • Loading branch information
kasemir authored Oct 6, 2023
2 parents 4183947 + cdbfac2 commit 03e7f0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/pvws/ws/Vtype2Json.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03e7f0d

Please sign in to comment.