开发者

How to convert Object to Dictionary in JSON.Net? [closed]

开发者 https://www.devze.com 2023-04-03 09:49 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this qu开发者_JS百科estion so that it can be reopened, visit the help center. Closed 10 years ago.

how do I convert a JObject to Dictioary?

Cheers


Since JObject implements IDictionary<TKey, TValue>, you could just create a new Dictionary<TKey, TValue>() passing that object into the constructor.

0

精彩评论

暂无评论...
验证码 换一张
取 消