Normal function call is:
//define
Function (string a and string b, string c) {... }
//call method1
The function (" haha ", "hehe", "hoho")
//call an this is the way to their support c #
Function (a: "haha," c: "hehe" b: "hoho")
But I want to achieve the following way:
String the parm="a:" haha, c: 'hehe' b: 'hoho "
The function (parm)
The parm variable as a string type, the inside of the assignment operation is not limited to the above expression
Such as at the moment, I think it is the most simple
String variable written as "{a: 'haha' c: 'hehe' b: 'hoho'}"
JSON deserialization become objects to preach and
Don't know whether there is a more opportunistic or better solution?
CodePudding user response:
Json is very sweet, but also a dynamic, don't need to write entity class, but the feeling of individual or entity class are easier to understand,
CodePudding user response:
I think, you instead in the
tight coupling of the road, more walk more far,,,
CodePudding user response: