2022-12-25 01:12:28 -08:00
|
|
|
package org.json;
|
|
|
|
|
|
|
|
/*
|
|
|
|
Public Domain.
|
|
|
|
*/
|
|
|
|
|
|
|
|
import static java.lang.annotation.ElementType.METHOD;
|
|
|
|
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|
|
|
|
|
|
|
import java.lang.annotation.Documented;
|
|
|
|
import java.lang.annotation.Retention;
|
|
|
|
import java.lang.annotation.Target;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2024-09-21 20:17:42 -07:00
|
|
|
@Documented
|
|
|
|
@Retention(RUNTIME)
|
|
|
|
@Target({METHOD})
|
2022-12-25 01:12:28 -08:00
|
|
|
public @interface JSONPropertyIgnore { }
|