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

后端 未结 2 810
清酒与你
清酒与你 2021-01-06 02:47

Is there a native implementation of JSON in Windows that I can call from C? If not, what about .NET or C#? Or what if any library or implementation do people use when they w

相关标签:
2条回答
  • 2021-01-06 03:01

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

    0 讨论(0)
  • 2021-01-06 03:15

    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.

    0 讨论(0)
提交回复
热议问题