File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
common/src/main/java/net/modfest/platform/gson Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change 22
33import com .google .gson .FieldNamingPolicy ;
44import com .google .gson .GsonBuilder ;
5- import net .modfest .platform .pojo .EventData ;
65import net .modfest .platform .pojo .SubmissionData ;
76
87import java .time .Instant ;
@@ -16,7 +15,6 @@ public static void configureGson(GsonBuilder builder) {
1615 .setFieldNamingPolicy (FieldNamingPolicy .LOWER_CASE_WITH_UNDERSCORES )
1716 .registerTypeHierarchyAdapter (Enum .class , new EnumToLowerCaseJsonConverter ())
1817 .registerTypeAdapter (Instant .class , new InstantSerializer ())
19- .registerTypeAdapter (EventData .DescriptionItem .class , new EventData .DescriptionItem .TypeAdapter ())
2018 .registerTypeAdapter (SubmissionData .AssociatedData .class , new SubmissionData .AssociatedData .TypeAdapter ())
2119 .setPrettyPrinting ()
2220 .serializeNulls ()
You can’t perform that action at this time.
0 commit comments