• Home
  • Raw
  • Download

Lines Matching refs:config

34     ZZJSON_CONFIG config = { ZZJSON_VERY_STRICT, NULL,  in main()  local
45 tmp = zzjson_create_array(&config, in main()
46 zzjson_create_number_d(&config, 3.14), in main()
47 zzjson_create_number_i(&config, 1234LL), in main()
48 zzjson_create_number_i(&config, -4321LL), in main()
49 zzjson_create_true(&config), in main()
50 zzjson_create_false(&config), in main()
51 zzjson_create_null(&config), in main()
52 zzjson_create_string(&config, "hello, world"), in main()
53 zzjson_create_object(&config, in main()
54 "picard", zzjson_create_string(&config, "jean-luc"), in main()
55 "riker", zzjson_create_string(&config, "william t."), in main()
57 zzjson_create_object(&config, NULL), in main()
58 zzjson_create_array(&config, NULL), in main()
66 tmp2 = zzjson_array_prepend(&config, tmp, in main()
67 zzjson_create_string(&config, "prepended string")); in main()
75 tmp2 = zzjson_array_append(&config, tmp, in main()
76 zzjson_create_string(&config, "appended string (slow)")); in main()
84 zzjson_print(&config, tmp); in main()
86 if (tmp) zzjson_free(&config, tmp); in main()
89 tmp = zzjson_create_array(&config, NULL); /* empty array */ in main()
90 tmp = zzjson_array_prepend(&config, tmp, zzjson_create_true(&config)); in main()
91 zzjson_print(&config, tmp); in main()
92 zzjson_free(&config, tmp); in main()
96 tmp = zzjson_create_object(&config, NULL); /* empty object */ in main()
97 tmp = zzjson_object_prepend(&config, tmp, "hello", in main()
98 zzjson_create_string(&config, "world")); in main()
99 tmp = zzjson_object_append(&config, tmp, "goodbye", in main()
100 zzjson_create_string(&config, "cruel world")); in main()
101 zzjson_print(&config, tmp); in main()
102 zzjson_free(&config, tmp); in main()