Class GsonUtil

java.lang.Object
com.viaversion.viaversion.util.GsonUtil

public final class GsonUtil extends Object
  • Constructor Details

    • GsonUtil

      public GsonUtil()
  • Method Details

    • getGson

      public static com.google.gson.Gson getGson()
      Returns google's Gson magic.
      Returns:
      gson instance
    • sort

      public static @Nullable com.google.gson.JsonElement sort(@Nullable com.google.gson.JsonElement object)