介绍对象:选择性粘贴
vs工具选择性粘贴,可以把json或xml字符串生成类
操作:
json生成类:
{"GUID":995815895020119788889,"DATE":"20180322","NAME":"Success !","AGE":200}
xml生成类:
注意:xml生成类需要net4.5及以上环境
<Student>
<GUID>995815895020119788889</GUID>
<DATE>20180322</DATE>
<NAME>Success</NAME>
<AGE>200</AGE>
</Student>