首页 > Web开发 > 详细

Json To CSharp

时间:2019-03-12 16:10:03      阅读:238      评论:0      收藏:0      [点我收藏+]

  This is a tools for generate json reader classes, based on LitJson plugins.  

  What we do is:

1. copy json data and paste it to text area.

2. parse json data to CSharp class code.

技术分享图片

Json Text area is the json datas, click [Parse Json To Reader Code(C#)] button, this json data will generate a reader class.

技术分享图片

you can see the generated classes <Json> and <datas>, the <Json> class‘s name is come from TextField [Base Class Name],  you can set any name for it,

and the <datas> class‘s name is come from json data. it is quite simple.

Text Area of json data and generated code Text Area can do copy (Ctrl+C) / paste(Ctrl+V ) / select all (Ctrl+A).

WWW json download Text Field and [Down and Parse To Reader Code(C#)] is used for download json text from WWW and parse, which I use it often, don‘t mind if you dont need it.

That‘s all. Enjoy it

Json To CSharp

原文:https://www.cnblogs.com/tiancaiwrk/p/10517271.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!