In Rust tests, how to assert_eq some json that keeps reordering its keys
My Rust lib does some operations on JSON, and in unit tests I need to ensure the correctness of the lib. Yet, json to string conversion keeps key order unstable. I do NOT want to modify the lib to include json sorting, but I do need to compare the results effectively in my unit tests.… Read More In Rust tests, how to assert_eq some json that keeps reordering its keys