DataContractJsonSerializer
I'm trying to use this method, to use this I must use System.Runtime.Serialization.Json
But it keeps saying that the Json part in System.Runtime.Serialization is missing.
I don't know that to install or any way arounf this
7 Replies
That's... a very old and outdated way of doing that. You should not be using
HttpWebRequest
Pretty sure I gave you an example of how to do it with HttpClient
From the documentation:
And regarding
DataContractJsonSerializer
:So unless you're working on some ancient .NET Framework 4.5 legacy project, there are better, aforementioned, ways
who on earth is teaching you this?
like is this a class you're taking in school?
Seeing how it started with Winforms and DataGrid... probably: https://discord.com/channels/143867839282020352/1191487675144867890
A subject yes
:(((