Home > Net >  How to get a JSON inside a value?
How to get a JSON inside a value?

Time:12-09

I through the netease interface to get the IP address


Returns the result of var lo="guangxi", lc="nanning"; Var localAddress={city "nanning", province: "guangxi"}


How do I get to nanning?

Xie bosses

CodePudding user response:

Online and other bosses 1111

CodePudding user response:

Without dynamic, replacing their objects,
 string json="{" name \ ": true, " age \ ": " success \ ", \ "hobby " : [{\ "obj1 " : \ "6 ", \ "obj2 " : \ "7 ", \ "obj3 " : \ \ "10"}, {\ "obj1 " : \ "6 ", \ "obj2 " : \ "7 ", \ "obj3 " : \ \ "10"}]} "; 
Var q=JsonConvert. DeserializeObject (json);
Console. WriteLine (q.n ame);

CodePudding user response:

You said that the front end of the or background?
If the front eval string
  • Related