minor formatting
This commit is contained in:
parent
db984d5e35
commit
85bc44ab8f
6
main.c
6
main.c
@ -146,8 +146,10 @@ void parse_json(string* s)
|
||||
}
|
||||
printf("%s\n", authorarr->valuestring);
|
||||
|
||||
printf("(First) Year of Publication: %d\n", cJSON_GetObjectItemCaseSensitive(child, "first_publish_year")->valueint);
|
||||
printf("Page length: %d\n", cJSON_GetObjectItemCaseSensitive(child, "number_of_pages_median")->valueint);
|
||||
printf("(First) Year of Publication: %d\n",
|
||||
cJSON_GetObjectItemCaseSensitive(child, "first_publish_year")->valueint);
|
||||
printf("Page length: %d\n",
|
||||
cJSON_GetObjectItemCaseSensitive(child, "number_of_pages_median")->valueint);
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
Loading…
x
Reference in New Issue
Block a user