We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5bcb68 commit 4565bddCopy full SHA for 4565bdd
1 file changed
src/test/java/org/json/junit/data/RecursiveBean.java
@@ -0,0 +1,22 @@
1
+package org.json.junit.data;
2
+
3
+/**
4
+ * test class for verifying if recursively defined bean can be correctly identified
5
+ * @author Zetmas
6
+ *
7
+ */
8
+public class RecursiveBean {
9
+ private String name;
10
+ private Object reference;
11
+ public String getName() { return name; }
12
+ public Object getRef() {return reference;}
13
14
+ public RecursiveBean(String name) {
15
+ this.name = name;
16
+ reference = null;
17
+ }
18
+ public RecursiveBean(String name, Object refObj) {
19
20
+ reference = refObj;
21
22
+}
0 commit comments