Annotation Interface 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"
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Each of the keys are tried in order.
  • Element Details

    • value

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