✅ HttpClient to Json
hey i tried a number of ways to get json from
response.Content.ReadAsStringAsync()
6 Replies
but i don't want to create the class to use by myself
and no newtonsoft :(
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
no
System.Text.Json
either?
agree with Tebe, that's the only proper wayYou can use System.Text.Json to deserialization, or if you don't want DTO you can parse JsonDocument
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
finally i did