.Net 微框架的 Json 库
我正在使用 .Net Microframework 运行一个轻型网络服务器,我想知道哪些库主要适用于 JSON 序列化,但也可能适用于反序列化。
我发现很多 JSON 库的问题是它们使用 MF 中不可用的奇特 .Net 功能,并且比我需要的更复杂。
我可以轻松编写一个简单的库来完成我的任务,但我想知道是否还有其他可用的。
谢谢
I'm running a light webserver using .Net Microframework and I was wondering what libraries would work well for for mainly JSON serialization, but possibly deserialization as well.
Problem I've found with a lot of JSON libraries is they use fancy .Net features not available in MF, and are more complicated then what I need.
I could easily write a simple library to accomplish my tasks but I was wondering if anything else was available.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
NetduinoHelpers 库中有一个轻量级 JSON 解析器,专门用于最小化占用空间: http://netduinohelpers.codeplex.com/
There is a lightweight JSON parser in the NetduinoHelpers library that is specifically built to minimize footprint: http://netduinohelpers.codeplex.com/
Mike Jones 上传了 JSON 序列化.NET Micro Framework 的反序列化库。
Mike Jones uploaded a JSON Serialization and Deserialization library for the .NET Micro Framework.
不确定您是否尝试过 Json.NET,因为它具有适用于 Silverlight 和 WindowsPhone 的解决方案文件。这意味着,如果它在像这样的受限环境中工作,它也可能在 .NET Microframework 中工作。
Not sure if you've tried Json.NET as it has solution files for Silverlight and WindowsPhone. The implication being that if it works in restricted environments like those it may work in the .NET Microframework.