简体   繁体   中英

Json Library for .Net Microframework

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

Mike Jones uploaded a JSON Serialization and Deserialization library for the .NET Micro Framework.

This is a JSON (de)serialization library that can encode (nearly) any C# object into a JSON string, and back. It manages primitives (int, float, string), dates, objects (classes, arrays, dictionaries), and objects within objects (within objects, etc).

...

I recall, it's about 13k in size, so it's kinda big, and kinda slow, but it works.

NetduinoHelpers库中有一个轻量级的JSON解析器,该库是专门为最大程度地减少占用空间而构建的: http ://netduinohelpers.codeplex.com/

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM