K
K
Kislyy2020-01-07 04:38:31
JSON
Kislyy, 2020-01-07 04:38:31

How to parse json using newtonsoft c#?

I have this json:

{"friendslist":{"friends":[{"steamid":"76561197972865963","relationship":"friend","friend_since":1549312386},{"steamid":"76561197982709416","relationship":"friend","friend_since":1536165297},{"steamid":"76561198037216725","relationship":"friend","friend_since":1543495119},{"steamid":"76561198040148528","relationship":"friend","friend_since":1501335629},{"steamid":"76561198964268045","relationship":"friend","friend_since":1558194848},{"steamid":"76561198984346938","relationship":"friend","friend_since":1570966944}]}}
, I can’t pick up classes to parse it, here is 1 class : 5e13e0a7ba15d317571445.png,
and here is the class for "friends : 5e13e0e805697886063359.png,
but I don’t know how to make the last one for "friendlist"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question