Skip to content

Commit

Permalink
Merge pull request #704 from niranjanib/fix-javadoc-not-visible-in-we…
Browse files Browse the repository at this point in the history
…bsite

move javadoc comments above the interface definition to make it visible
  • Loading branch information
stleary committed Nov 5, 2022
2 parents 98df354 + c798c76 commit 6a732ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/json/JSONPropertyIgnore.java
Expand Up @@ -11,13 +11,13 @@
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Documented
@Retention(RUNTIME)
@Target({METHOD})
/**
* 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 { }
6 changes: 3 additions & 3 deletions src/main/java/org/json/JSONPropertyName.java
Expand Up @@ -11,14 +11,14 @@
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Documented
@Retention(RUNTIME)
@Target({METHOD})
/**
* Use this annotation on a getter method to override the Bean name
* parser for Bean -&gt; JSONObject mapping. A value set to empty string <code>""</code>
* will have the Bean parser fall back to the default field name processing.
*/
@Documented
@Retention(RUNTIME)
@Target({METHOD})
public @interface JSONPropertyName {
/**
* @return The name of the property as to be used in the JSON Object.
Expand Down

0 comments on commit 6a732ec

Please sign in to comment.