Class GsonUtil

java.lang.Object
org.apache.hadoop.hbase.util.GsonUtil

@Private public final class GsonUtil extends Object
Helper class for gson.
  • Constructor Details

  • Method Details

    • createGson

      public static org.apache.hbase.thirdparty.com.google.gson.GsonBuilder createGson()
      Create a builder which is used to create a Gson instance.

      Will set some common configs for the builder.

    • createGsonWithDisableHtmlEscaping

      public static org.apache.hbase.thirdparty.com.google.gson.GsonBuilder createGsonWithDisableHtmlEscaping()