How to deal with front-end JSONArray or JSONObject data in CGI

before the WEB project uses the framework of java, the data format that the front-end send gives to http is JSONObject or JSONArray,. The operation is slow due to the need to install jvm, to run java on the device. If you want to use C"s open source WEB, if the front-end code remains unchanged, how can you flexibly deal with these data formats in CGI? (CGI is implemented in C language)

Apr.09,2021

found the solution, downloaded cJSON.c and cJSON.h files on the Internet, in which there are interface functions for parsing and generating JSON

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2bd76-2bacf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2bd76-2bacf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?