|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=PACKAGE) @Retention(value=RUNTIME) public @interface JsonTypeMapping
Explicitly defines a mapping of the specified type to a target JSON type.
| Required Element Summary | |
|---|---|
java.lang.String |
javaType
Fully qualified name of the java source type. |
java.lang.String |
jsonType
Name of the target JSON type. |
| Element Detail |
|---|
public abstract java.lang.String javaType
public abstract java.lang.String jsonType
string (case-insensitive)number (case-insensitive)boolean (case-insensitive)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||