Package org.jclouds.rest.annotations
Annotation Type SelectJson
-
@Target(METHOD) @Retention(RUNTIME) public @interface SelectJson
Selects a name in a json structure as opposed to parsing from root. ex. for "foo" { "foo" :"bar" } becomes "bar"
-
-
Element Detail
-
value
String[] value
Each of the keys are tried in order. This helps in the case the server renamed a field in json.
-
-