You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have BeXmlSerializable, BeDataContractSerializable and BeBinarySerializable, and since 8.8 the first two accept EquivalencyOptions. There is no equivalent for System.Text.Json, the serializer most codebases use today.
Implementation: serialize with System.Text.Json, deserialize, compare via BeEquivalentTo. An overload accepting JsonSerializerOptions would cover custom converters.
We have
BeXmlSerializable,BeDataContractSerializableandBeBinarySerializable, and since 8.8 the first two acceptEquivalencyOptions. There is no equivalent forSystem.Text.Json, the serializer most codebases use today.Proposed API:
Implementation: serialize with
System.Text.Json, deserialize, compare viaBeEquivalentTo. An overload acceptingJsonSerializerOptionswould cover custom converters.