Skip to content

Commit

Permalink
Update EnumSerializer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
emildinchev committed Jan 26, 2024
1 parent 8a437c9 commit e36d51d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public void serialize(Enum value, JsonGenerator gen, SerializerProvider provider
}
} else if (value instanceof DataTypeIec61360) {
gen.writeString(value.name().toUpperCase());
} else if (value instanceof SecurityTypeEnum) {
gen.writeString(value.name().toUpperCase());
} else if (value instanceof SecurityTypeEnum) {
gen.writeString(value.name().toUpperCase());
} else if (value instanceof Direction || value instanceof StateOfEvent) {
gen.writeString(value.name().toLowerCase());
} else if (ReflectionHelper.ENUMS.contains(value.getClass())) {
Expand Down

0 comments on commit e36d51d

Please sign in to comment.