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

<p>But I want to know which is better to use for <code>serialization</code> objects? <code>JsonSerializer</code> or <code>JsonConvert</code>?</p>