fix: Text serialize
This commit is contained in:
@@ -25,7 +25,7 @@ public class TextSerializer extends StdSerializer<Text> {
|
|||||||
gen.writeStringField("text", text.getContent());
|
gen.writeStringField("text", text.getContent());
|
||||||
|
|
||||||
if (text.getColor() != null) {
|
if (text.getColor() != null) {
|
||||||
gen.writeStringField("colot", text.getColor().getName());
|
gen.writeStringField("color", text.getColor().getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (text.getStyle() != null) {
|
if (text.getStyle() != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user