Searched refs:JSON_ARRAY_CLOSE (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Djson.h36 JSON_ARRAY_CLOSE, enumerator in enum:__anon16
H A Djson.c537 return JSON_ARRAY_CLOSE;
608 return JSON_ARRAY_CLOSE;
624 int terminator = arr ? JSON_ARRAY_CLOSE : JSON_OBJECT_CLOSE;
794 if (t <= JSON_ARRAY_CLOSE) {
/systemd/src/test/
H A Dtest-json.c182 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 812 milliseconds