开发者

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

开发者 https://www.devze.com 2023-02-19 21:04 出处:网络
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

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

精彩评论

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