org.codehaus.enunciate.json
Annotation Type JsonTypeMapping


@Target(value=PACKAGE)
@Retention(value=RUNTIME)
public @interface JsonTypeMapping

Explicitly defines a mapping of the specified type to a target JSON type.

Author:
Steven Cummings

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

javaType

public abstract java.lang.String javaType
Fully qualified name of the java source type.


jsonType

public abstract java.lang.String jsonType
Name of the target JSON type. This is expected to be one of the following: