- Added implementation for Enum and Map

- Moving the CustomClass to data folder.
- Removing JSONBuilder.java
- Moving the implementation of JSONBuilder to JSONObject.
This commit is contained in:
sk02241994
2025-10-13 12:39:14 +11:00
parent fbb6b3158e
commit 0521928463
13 changed files with 589 additions and 428 deletions
@@ -0,0 +1,17 @@
package org.json.junit.data;
public class CustomClassA {
public java.time.LocalDateTime localDate;
public CustomClassA() {}
public CustomClassA(java.time.LocalDateTime localDate) {
this.localDate = localDate;
}
@Override
public boolean equals(Object o) {
CustomClassA classA = (CustomClassA) o;
return this.localDate.equals(classA.localDate);
}
}