OpenHFT / Chronicle-Wire

A Low Garbage Java Serialisation Library that supports multiple formats
http://chronicle.software
Apache License 2.0
513 stars 123 forks source link

JSONWire parser is confused when reading a field after null resolves to Double NaN #953

Open alamar opened 2 weeks ago

alamar commented 2 weeks ago

df307774 defines that NaN is turned into null on writing, and null is turned into NaN double on reading. However, it seems that parsing such null sets parser in some bad state where it can no longer parse next fields in the same object.

I will attach a reproducer test.