Searched refs:JSON_ARRAY_OPEN (Results 1 - 3 of 3) sorted by relevance
/systemd/src/basic/ |
H A D | json.h | 35 JSON_ARRAY_OPEN, enumerator in enum:__anon16
|
H A D | json.c | 530 return JSON_ARRAY_OPEN; 676 int type = (var->value.integer == JSON_ARRAY_OPEN) ? JSON_VARIANT_ARRAY : JSON_VARIANT_OBJECT;
|
/systemd/src/test/ |
H A D | test-json.c | 182 test_one("[]", JSON_ARRAY_OPEN, JSON_ARRAY_CLOSE, JSON_END); 183 test_one("\t [] \n\n", JSON_ARRAY_OPEN, JSON_ARRAY_CLOSE, JSON_END); 188 test_one("{\"foo\" : [true, false]}", JSON_OBJECT_OPEN, JSON_STRING, "foo", JSON_COLON, JSON_ARRAY_OPEN, JSON_BOOLEAN, true, JSON_COMMA, JSON_BOOLEAN, false, JSON_ARRAY_CLOSE, JSON_OBJECT_CLOSE, JSON_END); 196 test_one("[1, 2]", JSON_ARRAY_OPEN, JSON_INTEGER, (intmax_t) 1, JSON_COMMA, JSON_INTEGER, (intmax_t) 2, JSON_ARRAY_CLOSE, JSON_END);
|
Completed in 488 milliseconds