Package org.apache.hadoop.hbase.master.http.gson
package org.apache.hadoop.hbase.master.http.gson
This package should be in the hbase-http module as
a.a.h.h.http.gson
. It is here instead
because hbase-http does not currently have a dependency on hbase-client, which is required for
implementing SizeAsBytesSerializer
.-
ClassDescriptionProvides a singleton
Gson
instance configured just the way we like it.Used to register with (shaded) Jersey the presence of Entity serialization using (shaded) Gson.Register this feature's provided functionality and defines their lifetime scopes.Simplify representation of aSize
instance by converting to bytes.