add comment for cJSON_Minify function

This commit is contained in:
Alan_scut 2019-05-22 10:24:13 +08:00
parent 3c8935676a
commit 5fe80a94b6
1 changed files with 3 additions and 1 deletions

View File

@ -250,7 +250,9 @@ The item->next and ->prev pointers are always zero on return from Duplicate. */
* case_sensitive determines if object keys are treated case sensitive (1) or case insensitive (0) */
CJSON_PUBLIC(cJSON_bool) cJSON_Compare(const cJSON * const a, const cJSON * const b, const cJSON_bool case_sensitive);
/* Minify a strings, remove blank characters(such as ' ', '\t', '\r', '\n') from strings */
/* The input pointer json cannot point to a read-only address area, such as a string constant,
* but should point to a readable and writable adress area. */
CJSON_PUBLIC(void) cJSON_Minify(char *json);
/* Helper functions for creating and adding items to an object at the same time.