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

      Required Elements 
      Modifier and Type Required Element Description
      String[] value
      Each of the keys are tried in order.
    • 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.