I want to serialize object in c# and learn that we can do this both JsonSerializer
and JsonConvert
. I know about documentation knowledges about these.
But I want to know which is better to use for serialization
objects? JsonSerializer
or JsonConvert
?