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
No description
7 Replies
Angius
Angius11mo ago
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
Angius
Angius11mo ago
From the documentation:
No description
Angius
Angius11mo ago
And regarding DataContractJsonSerializer:
No description
Angius
Angius11mo ago
So unless you're working on some ancient .NET Framework 4.5 legacy project, there are better, aforementioned, ways
jcotton42
jcotton4211mo ago
who on earth is teaching you this? like is this a class you're taking in school?
Angius
Angius11mo ago
Seeing how it started with Winforms and DataGrid... probably: https://discord.com/channels/143867839282020352/1191487675144867890
RagequitMaster
RagequitMasterOP11mo ago
A subject yes :(((
Want results from more Discord servers?
Add your server