eclipse-vertx / vert.x

Vert.x is a tool-kit for building reactive applications on the JVM
http://vertx.io
Other
14.26k stars 2.07k forks source link

Fix json object/array BigInteger/BidDecimal value comparison #5236

Closed vietj closed 3 months ago

vietj commented 3 months ago

The code to compare two numbers in json object/array does not correctly compare BigInteger/BigDecimal values.

Fix this issue and also simplify / refactor this code to be more compact and reused between object/array