json 数组
cjsON 结构:
typedef struct cJSON {
structcJSON *next,*prev; /* next/prevallow you to walk array/object chains. Alternatively, useGetArraySize/GetArrayItem/GetObjectItem */
structcJSON *child; /* Anarray or object item will have a child pointer pointing to a chain of the itemsin the array/object. */
inttype; /*The type of the item, as above. */
char*valuestring; /* Theitem's string, if type==cJSON_String */
intvalueint; /*The item's number, if type==cJSON_Number */
doublevaluedouble; /*The item's number, if type==cJSON_Number */
char*string; /*The item's name string, if this item is the child of, or is in the list ofsubitems of an object. */