public static class JsonFeature.Config
| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
JsonSerializer |
getSerializer()
Serialized that will be used for serializing requests bodies,
and de-serializing response bodies when Content-Type matches
application/json. |
void |
setSerializer(JsonSerializer p)
Serialized that will be used for serializing requests bodies,
and de-serializing response bodies when Content-Type matches
application/json. |
public JsonSerializer getSerializer()
Serialized that will be used for serializing requests bodies,
and de-serializing response bodies when Content-Type matches application/json.
Default value is defultSerializer
public void setSerializer(JsonSerializer p)
Serialized that will be used for serializing requests bodies,
and de-serializing response bodies when Content-Type matches application/json.
Default value is defultSerializer