eclipse-vertx / vert.x

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

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

Closed vietj closed 5 months ago

vietj commented 5 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