4 int main(int argc, char *argv[])
10 fprintf(stderr, "usage: %s\n", argv[0]);
14 json = json_loadf(stdin, &error);
16 fprintf(stderr, "%d\n%s\n", error.line, error.text);
20 /* loadf_dumpf indents, others don't, so dumping with and without
21 indenting is tested */
22 json_dumpf(json, stdout, JSON_INDENT(4));