CodePudding user response:
Can use generics to deserialize the advantage of strong control, defect is more troublesome, need to customize a classCodePudding user response:
JObject. Parse (json)CodePudding user response:
Don't discuss, this question, like why the ans the route to travel from the scenic spot to walk, and not find a way of "the hills backpacker" asFrom the scenic area to the route of the simple and convenient -- -- -- -- --, but need to buy a ticket, buy the scenic spot ticket
Topped backpackers -- -- -- -- -- -- -- -- -- -- - don't have to buy tickets, with guys, take a compass, GPS, rich people ask for a tour guide, have no money of their legs drip with a map, bought a fake maps, of course, meet with what accident nobody tube you -- -- -- -- -- -- -- a couple of days before the paramilitary forces came out a few backpackers, so this kind of thing, you want to play with nobody tube you, you love how to play, how to play, happy is good
CodePudding user response:
Why use jtonken operate?If you don't want to set object, can completely Deserializ
CodePudding user response:
This problem because you need to know, not what he is, for some variants what need STH over and over again if you want, what elseBut the current trend is designed according to the "contract", do you know the contract, can automatically,
It's like the ORM, or TCP protocol, the development of the most is that you have to know the database structure, you have to know the TCP protocol
Now, I've developed don't tube he, I don't have to tube how to save in the database, TCP how I also don't have to tube, you give my IDAL interface, he Protocolbuf thieft IDL to me, give me his json demo, you can complete the rest machine
Buy a ticket into the gate, scenic car behind, with a guide with you play, you don't have to hold the compass with mountains around
CodePudding user response: