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

Did you find this page helpful?