Home > Net >  Theory of why not Jtoken parser object
Theory of why not Jtoken parser object

Time:09-29

Usually I go to parse the json string, use JToken, but the feeling is not very familiar with, also does not have the use of blog to introduce JToken, whether directly from generics to parse better

CodePudding user response:

Can use generics to deserialize the advantage of strong control, defect is more troublesome, need to customize a class

CodePudding 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" as

From 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 else

But 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:

reference 5 floor wanghui0380 reply:
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 else

But 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


My demand is to value, value, with the most simple way, I known json node

CodePudding user response:

Methods thousands were used which do you think what kind of good, you go to the substring, regular it doesn't matter what the
  •  Tags:  
  • C#
  • Related