Package org.json

Annotation Type JSONPropertyIgnore


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface JSONPropertyIgnore
Use this annotation on a getter method to override the Bean name parser for Bean -> JSONObject mapping. If this annotation is present at any level in the class hierarchy, then the method will not be serialized from the bean into the JSONObject.