Class GsonProviderHelper
java.lang.Object
org.hibernate.search.backend.elasticsearch.gson.spi.GsonProviderHelper
Centralizes the configuration of the Gson objects.
-
Method Summary
Modifier and TypeMethodDescriptionstatic GsonProviderstatic com.google.gson.Gsonstatic StringtoPrettyJson(Object obj)
-
Method Details
-
create
public static GsonProvider create(Supplier<com.google.gson.GsonBuilder> builderBaseSupplier, boolean logPrettyPrinting) -
createUserFacingGson
public static com.google.gson.Gson createUserFacingGson() -
toPrettyJson
-