• 2024-07-02cJSON:构建JSON
    使用cJSON库构建比较简单的JSON类型:create_json.c#include<stdio.h>#include<string.h>#include<stdlib.h>#include"cJSON.h"staticintcreate_json_type_1(void){char*json_str=NULL;cJSON*root=NULL;root=cJSON_Cre