mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
reformatting: cJSON_Print
This commit is contained in:
parent
f36d9c9ef2
commit
1748902d3c
6
cJSON.c
6
cJSON.c
@ -831,7 +831,11 @@ cJSON *cJSON_Parse(const char *value)
|
||||
}
|
||||
|
||||
/* 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_PrintBuffered(cJSON *item,int prebuffer,int fmt)
|
||||
|
Loading…
Reference in New Issue
Block a user