Add BeJsonSerializable
extensions for objects
#2555
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
Background and motivation
As discussed in #2205 we want support for
System.Text.Json
. I would suggest to keep it as similar as possible to the existing extension packageFluentAssertions.Json
.API Proposal
Add the following methods for
ObjectAssertions
(similar toObjectAssertionsExtensions
inFluentAssertions.Json
):These methods should assert that an object can be serialized to and deserialized from JSON and retains the values of all members.
API Usage
Alternative Designs
No response
Risks
No response
Are you willing to help with a proof-of-concept (as PR in that or a separate repo) first and as pull-request later on?
Yes, please assign this issue to me.
The text was updated successfully, but these errors were encountered: