mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-11-21 20:01:49 +00:00
reformatting: cJSON_Print
This commit is contained in:
1 parent
f36d9c9ef2
commit
1748902d3c
1 file changed
+5
-1
@@ -831,7 +831,11 @@ cJSON *cJSON_Parse(const char *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Render a cJSON item/entity/structure to text. */
|
/* Render a cJSON item/entity/structure to text. */
|
||||||
char *cJSON_Print(cJSON *item) {return print_value(item,0,1,0);}
|
char *cJSON_Print(cJSON *item)
|
||||||
|
{
|
||||||
|
return print_value(item, 0, 1, 0);
|
||||||
|
}
|
||||||
|
|
||||||
char *cJSON_PrintUnformatted(cJSON *item) {return print_value(item,0,0,0);}
|
char *cJSON_PrintUnformatted(cJSON *item) {return print_value(item,0,0,0);}
|
||||||
|
|
||||||
char *cJSON_PrintBuffered(cJSON *item,int prebuffer,int fmt)
|
char *cJSON_PrintBuffered(cJSON *item,int prebuffer,int fmt)
|
||||||
|
|||||||
Reference in new issue
Block a user