Package org.json
Annotation Type 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
-
Element Details
-
value
String value- Returns:
- The name of the property as to be used in the JSON Object.
-