File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1111import java .lang .annotation .Retention ;
1212import java .lang .annotation .Target ;
1313
14- @ Documented
15- @ Retention (RUNTIME )
16- @ Target ({METHOD })
1714/**
1815 * Use this annotation on a getter method to override the Bean name
1916 * parser for Bean -> JSONObject mapping. If this annotation is
2017 * present at any level in the class hierarchy, then the method will
2118 * not be serialized from the bean into the JSONObject.
2219 */
20+ @ Documented
21+ @ Retention (RUNTIME )
22+ @ Target ({METHOD })
2323public @interface JSONPropertyIgnore { }
Original file line number Diff line number Diff line change 1111import java .lang .annotation .Retention ;
1212import java .lang .annotation .Target ;
1313
14- @ Documented
15- @ Retention (RUNTIME )
16- @ Target ({METHOD })
1714/**
1815 * Use this annotation on a getter method to override the Bean name
1916 * parser for Bean -> JSONObject mapping. A value set to empty string <code>""</code>
2017 * will have the Bean parser fall back to the default field name processing.
2118 */
19+ @ Documented
20+ @ Retention (RUNTIME )
21+ @ Target ({METHOD })
2222public @interface JSONPropertyName {
2323 /**
2424 * @return The name of the property as to be used in the JSON Object.
You can’t perform that action at this time.
0 commit comments