Package ratpack.gson

Interface GsonParseOpts


  • public interface GsonParseOpts
    Parsing configuration for Google's Gson library.
    Since:
    1.6
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<com.google.gson.Gson> getGson()
      Get the Gson instance to use when deserializing the JSON.
    • Method Detail

      • getGson

        java.util.Optional<com.google.gson.Gson> getGson()
        Get the Gson instance to use when deserializing the JSON.
        Returns:
        the optional Gson instance to use during deserialization.