public class ThrowableJsonSerializer
extends java.lang.Object
implements com.google.gson.JsonSerializer<java.lang.Throwable>
Throwable.
Only the field "message" is serialized during the process.
| Constructor and Description |
|---|
ThrowableJsonSerializer() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
serialize(java.lang.Throwable exception,
java.lang.reflect.Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext) |