JSONPropertyName (JSON in Java 20240205 API)

Package org.json

## Annotation Type JSONPropertyName

-     @Documented
      @Retention(RUNTIME)
      @Target(METHOD)
      public @interface JSONPropertyName

  Use this annotation on a getter method to override the Bean name parser for Bean -> JSONObject mapping. A value set to empty string `""` will have the Bean parser fall back to the default field name processing.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element | Description
    --- | --- | ---
    `String` | `value` |

- - ### Element Detail

    - #### value

          String value

      Returns:
        The name of the property as to be used in the JSON Object.