Closed Eh2406 closed 4 months ago
Thanks for reaching out, @Eh2406. On the last version, it seems that this is now working. Could you try your code with version ron = "=0.9.0-alpha.0"
(the prerelease for v0.9) and see if it works? If v0.9 does indeed fix the issue, I'll merge your testcase into our testsuite in #531 to ensure it continues working in the future :)
Thank you for the fast response. I will give it a try as soon as I have a chance. I have a larger test case set up on my work computer, so may not get to it until Monday.
Yes the larger case also passed with 0.9
. Sorry I didn't check the change log for unreleased changes. Sounds like it was fixed in #451.
I was trying to debug a mysterious issue while investigating a bug. My implementations of serialize and deserialize were complicated but look like they should match. After extensive investigation I discovered that if I used
serde_json
they did match, but when I usedron
they did not. I was able to reduce the input to this playground which usesserde_json
and passes. Unfortunatelyron
is not available on playground, but this test fails running locally:Is this a bug? Is there a known workaround?