File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
import java .lang .annotation .Retention ;
12
12
import java .lang .annotation .Target ;
13
13
14
- @ Documented
15
- @ Retention (RUNTIME )
16
- @ Target ({METHOD })
17
14
/**
18
15
* Use this annotation on a getter method to override the Bean name
19
16
* parser for Bean -> JSONObject mapping. If this annotation is
20
17
* present at any level in the class hierarchy, then the method will
21
18
* not be serialized from the bean into the JSONObject.
22
19
*/
20
+ @ Documented
21
+ @ Retention (RUNTIME )
22
+ @ Target ({METHOD })
23
23
public @interface JSONPropertyIgnore { }
Original file line number Diff line number Diff line change 11
11
import java .lang .annotation .Retention ;
12
12
import java .lang .annotation .Target ;
13
13
14
- @ Documented
15
- @ Retention (RUNTIME )
16
- @ Target ({METHOD })
17
14
/**
18
15
* Use this annotation on a getter method to override the Bean name
19
16
* parser for Bean -> JSONObject mapping. A value set to empty string <code>""</code>
20
17
* will have the Bean parser fall back to the default field name processing.
21
18
*/
19
+ @ Documented
20
+ @ Retention (RUNTIME )
21
+ @ Target ({METHOD })
22
22
public @interface JSONPropertyName {
23
23
/**
24
24
* @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