fabienrenaud / java-json-benchmark

Performance testing of serialization and deserialization of Java JSON libraries
MIT License
973 stars 134 forks source link

Reenable DSL-JSON #19

Closed zapov closed 6 years ago

zapov commented 6 years ago

Change double comparison to 2 bits (since Java incorrectly says a diff between two doubles is 2 instead of 1) Guard against null value in email during to string. DSL Platform compiler was incorrectly deserializing String[]. This is fixed, but provide more meaningful comparison instead of NPE

NPE should not have happened in reflection (or Java8) implementation, so it should have not been disabled.

eg, distance between: 52.291899125809664 and 52.29189912580966 is 1 bit, but Java says it's two.

zapov commented 6 years ago

DSL-JSON v1.7.3 fixes the problem with Java Time. It was some nonpretty bug in the library ;( Jackson was working fine