-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
In contrast to the main FluentAssertions library, the documentation is not a lot here.
I was coming here with the question: Can I use this to just de-serialize some JSON string and then just check whether that is "equivalent" to another object I want to compare it with, or, say, another string?
Now reading the short Readme I have more questions:
- The lib is named FluentAssertions.Json, however the description says these are "NewtonSoft.Json extensions for FluentAssertions". So, especially given C# now has it's own internal JSON (de)serializer, is this library
- for me, if I develop something with NewtonSoft? or
- is it for me, if I have some JSON and want to compare it.
- If the first case is true, and this is only usable with NewtonSoft, then why is not it named
FluentAssertions.NewtonSoft? - The examples using
JToken, which seems obligatory (is it?), also seem to make me tend guess it is more about case 1, i.e. a NewtonSoft-only extension.
IMHO, for beginners, this documentation here should be improved or maybe the name should be adjusted, to clarify this.
Metadata
Metadata
Assignees
Labels
No labels