org.jclouds.rest.annotations
Annotation Type SelectJson


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface SelectJson

Selects a name in a json structure as opposed to parsing from root. ex. for "foo" { "foo" :"bar" } becomes "bar"

Author:
Adrian Cole

Required Element Summary
 String[] value
          Each of the keys are tried in order.
 

Element Detail

value

public abstract String[] value
Each of the keys are tried in order. This helps in the case the server renamed a field in json.



Copyright © 2009-2013 jclouds. All Rights Reserved.