RuedigerMoeller / fast-serialization

FST: fast java serialization drop in-replacement
Apache License 2.0
1.58k stars 248 forks source link

2.57 - Round trip issues with JSON serialiser - NaN/Infinity and Collections.emptyList #332

Open richard-smith-preservica opened 1 year ago

richard-smith-preservica commented 1 year ago

I guess this is two issues but they kind of go together. We are using FST to serialise method call requests/responses to AMQP. We're currently successfully using it in binary mode, but would like to be able to format messages as JSON so they're human readable and easier to interface with outside Java. There are two things which won't currently go through a serialise/deserialise and come back with the same object:

If it's intended that users can assume the coder specific config is a JsonFactory then this is ok

We are using 2.57 on Java 8