开发者

Does Windows have a JSON API that can be called from C?

Is there a native implementation of JSON in Windows that I can call from C? If not, what about .NET or C#? 开发者_如何学JAVAOr what if any library or implementation do people use when they wish to use JSON in a Windows app?


Yes, there is a built-in Windows JSON parser: http://msdn.microsoft.com/en-us/library/system.web.script.serialization.javascriptserializer.aspx

It can be called from a native language using the .NET interop facilities (COM Callable Wrapper), which may be more work for you than a truly native library, as first answer suggests.


There is a long list of such things on the JSON homepage. Take your pick.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜