org.springframework.boot.autoconfigure.gson

Interface GsonBuilderCustomizer

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public interface GsonBuilderCustomizer
    Callback interface that can be implemented by beans wishing to further customize the Gson via GsonBuilder retaining its default auto-configuration.
    Since:
    2.0.0
    Author:
    Ivan Golovko
    • Method Detail

      • customize

        void customize(com.google.gson.GsonBuilder gsonBuilder)
        Customize the GsonBuilder.
        Parameters:
        gsonBuilder - the GsonBuilder to customize