摘要:
using LitJson;private void btnRead_Click(object sender, EventArgs e) { string path = @"D:/test.json";//读取文件txt using (FileStream fs = new FileStream(path, FileMode.Open)) { using (StreamReader sr = new StreamReader(fs,UnicodeEncoding.GetEncoding("GB2312"))) { while (!sr.EndOfStre 阅读全文
摘要:
地址:http://lbv.github.io/litjson/docs/quickstart.htmlLitJSON Quickstart GuideIntroductionQuick StartMapping JSON to objects and vice versaReaders and WritersConfiguring the library’s behaviourIntroductionJSON is a simple, yet powerful notation to specify data. It defines simple scalar types such as b 阅读全文