Class GsonConfig


  • public class GsonConfig
    extends Object
    • Constructor Detail

      • GsonConfig

        public GsonConfig()
    • Method Detail

      • defaultConfig

        public static com.google.gson.Gson defaultConfig()
        Builder based on aca-py's default field naming strategy
        Returns:
        Gson
      • prettyPrinter

        public static com.google.gson.Gson prettyPrinter()
      • jacksonBehaviour

        public static com.google.gson.Gson jacksonBehaviour()
        Matches jackson's default serialization/deserialization behaviour
        Returns:
        Gson
      • defaultNoEscaping

        public static com.google.gson.Gson defaultNoEscaping()
        Builder based on aca-py's default field naming strategy but without HTML escaping
        Returns:
        Gson