A set of .NET Framework managed libraries for developing graphical user interfaces.
Hi Khushisshaikh,
I did some research about System.Text.Json and found that System.Text.Json has more restrictions.
For example, there is currently no built-in support for types like DataSet and DataTable in System.Text.Json.
And the official document says, there may be solutions for unsupported functions. The solution is to customize converters, they may not provide exactly the same functions as Newtonsoft.Json.
More details you can refer to this document.
So if you want to deserialize json to datatable, Newtonsoft.Json is a good choice.
Here is a code example you can refer to.17589-example.txt
Best Regards,
Daniel Zhang