Searched refs:JSON_OBJECT_CLOSE (Results 1 - 3 of 3) sorted by relevance
/systemd/src/basic/ |
H A D | json.h | 34 JSON_OBJECT_CLOSE, enumerator in enum:__anon16
|
H A D | json.c | 523 return JSON_OBJECT_CLOSE; 602 return JSON_OBJECT_CLOSE; 624 int terminator = arr ? JSON_ARRAY_CLOSE : JSON_OBJECT_CLOSE;
|
/systemd/src/test/ |
H A D | test-json.c | 180 test_one("{}", JSON_OBJECT_OPEN, JSON_OBJECT_CLOSE, JSON_END); 181 test_one("\t {\n} \n", JSON_OBJECT_OPEN, JSON_OBJECT_CLOSE, JSON_END); 187 test_one("{\"foo\" : \"bar\"}", JSON_OBJECT_OPEN, JSON_STRING, "foo", JSON_COLON, JSON_STRING, "bar", JSON_OBJECT_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);
|
Completed in 13 milliseconds