Porting a Python program to C
I would like to port a program which is using urllib and json (Python 3) to C. My question is which libraries exist to replace urllib and json in C and wh开发者_如何转开发ich are the best (easier, documented, fast)? If there are not good libraries in C I also accept C++
Thank you all.
For JSON, json.org has a list of implementations for a variety of languages, including C. Most of them should be fairly lightweight and fast.
To replace urllib, you probably want to look at libcURL.
精彩评论