Annotation Type Property


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    @Documented
    public @interface Property
    An annotation indicating the name of the JSON property that should be extracted into the method parameter.

    If the test code is compiled with the -parameters flag, and the test method parameter's name matches the JSON property's name, this annotation is not needed.

    Since:
    1.7.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The name of the JSON property.
    • Element Detail

      • value

        java.lang.String value
        The name of the JSON property.