Skip to content

Commit

Permalink
Restore GSON manual configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Syer <dsyer@vmware.com>
  • Loading branch information
dsyer committed Jan 5, 2021
1 parent 0dcea5c commit 350cc40
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -46,7 +46,8 @@ public class JSON {

public static GsonBuilder createGson() {
GsonFireBuilder fireBuilder = new GsonFireBuilder();
GsonBuilder builder = fireBuilder.createGsonBuilder();
GsonBuilder builder =
fireBuilder.registerPreProcessor(V1Status.class, new V1StatusPreProcessor());
return builder;
}

Expand Down

0 comments on commit 350cc40

Please sign in to comment.