Package org.hyperledger.aries.config
Class GsonConfig
- java.lang.Object
-
- org.hyperledger.aries.config.GsonConfig
-
public class GsonConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description GsonConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.gson.GsondefaultConfig()Builder based on aca-py's default field naming strategystatic com.google.gson.GsondefaultNoEscaping()Builder based on aca-py's default field naming strategy but without HTML escapingstatic com.google.gson.GsonjacksonBehaviour()Matches jackson's default serialization/deserialization behaviourstatic com.google.gson.GsonprettyPrinter()
-
-
-
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
-
-