Description: comparing epochs in milliseconds instead of the exact instants to
 avoid error during TestCustomMappingInstant.test_instant:

 org.opentest4j.AssertionFailedError: expected: <2024-12-03T21:38:43.227Z> but was: <2024-12-03T21:38:43.227660582Z>
  at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
  at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
  at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
  at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
  at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
  at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
  at net.minidev.json.testMapping.TestCustomMappingInstant.test_instant(TestCustomMappingInstant.java:62)
Author: Pierre Gruet <pgt@debian.org>
Forwarded: https://github.com/netplex/json-smart-v2/issues/227
Last-Update: 2024-12-04

--- a/json-smart/src/test/java/net/minidev/json/testMapping/TestCustomMappingInstant.java
+++ b/json-smart/src/test/java/net/minidev/json/testMapping/TestCustomMappingInstant.java
@@ -59,7 +59,7 @@
 		regularClass.setInstant(instant);
 		String data = JSONValue.toJSONString(regularClass);
 		RegularClass result = JSONValue.parse(data, RegularClass.class);
-		assertEquals(result.getInstant(), instant);
+		assertEquals(result.getInstant().toEpochMilli(), instant.toEpochMilli());
 	}
 
 	public static class RegularClass {
