This commit adds the org.json:20230227 library into the common's module because I was unable to get the mavenreapo version to work.
This commit is contained in:
23
common/src/main/java/org/json/JSONPropertyIgnore.java
Normal file
23
common/src/main/java/org/json/JSONPropertyIgnore.java
Normal file
@@ -0,0 +1,23 @@
|
||||
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.
|
||||
*/
|
||||
@Documented
|
||||
@Retention(RUNTIME)
|
||||
@Target({METHOD})
|
||||
public @interface JSONPropertyIgnore { }
|
||||
Reference in New Issue
Block a user