References Deprecated
ToStringSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
Object#toString returns the desired JSON
value.
Since 2.10 extends ToStringSerializerBase
| Modifier and Type | Field and Description |
|---|---|
| public static final ToStringSerializer | instance
References Deprecated
Singleton instance to use.
ToStringSerializer is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Access | Constructor and Description |
|---|---|
| public | ToStringSerializer()
Note usually you should NOT create new instances, but instead use
|
| public | ToStringSerializer(Class<?> handledType)
Sometimes it may actually make sense to retain actual handled type. |
| Modifier and Type | Method and Description |
|---|---|
| public final String | valueToString(Object value)
Implements abstract com.
|
| instance | back to summary |
|---|---|
| public static final ToStringSerializer instance
References Deprecated
See corresponding docs for further information. Singleton instance to use. | |
| ToStringSerializer | back to summary |
|---|---|
| public ToStringSerializer() Note usually you should NOT create new instances, but instead use
| |
| ToStringSerializer | back to summary |
|---|---|
| public ToStringSerializer(Class<?> handledType) Sometimes it may actually make sense to retain actual handled type.
| |
| valueToString | back to summary |
|---|---|
| public final String valueToString(Object value) Implements abstract com.
| |