diff --git a/protocol/src/main/java/me/duncte123/lyrics/model/Lyrics.java b/protocol/src/main/java/me/duncte123/lyrics/model/Lyrics.java index df0be64..562d617 100644 --- a/protocol/src/main/java/me/duncte123/lyrics/model/Lyrics.java +++ b/protocol/src/main/java/me/duncte123/lyrics/model/Lyrics.java @@ -1,9 +1,8 @@ package me.duncte123.lyrics.model; import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -@JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.PROPERTY, property="type") +// @JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.PROPERTY, property="type") @JsonSubTypes({ @JsonSubTypes.Type(name="text", value=TextLyrics.class), @JsonSubTypes.Type(name="timed", value=TimedLyrics.class)