简体   繁体   中英

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 which are the best (easier, documented, fast)? If there are not good libraries in CI 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 .

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