pipewire/test
Pauli Virtanen 3775e4e624 spa: json: check object key-value pair parity during parsing
Check each object key is associated with value.  Disallow object or
array valued keys.

Add flag tracking whether the parser is at global top-level or not, as
there we may either be in object context or in a single-value context.

Save depth=0 array flag bit in state, so that spa_json_next preserves
its complete state across calls. The higher-depth flag bits can be in
temporary stack as they are not needed across calls.
2024-03-25 20:49:25 +02:00
..
data test: add "strict" JSON tests 2024-03-25 20:49:25 +02:00
meson.build meson: fix compilation when spa-plugins is disabled 2024-02-06 11:50:54 +01:00
pwtest-compat.c
pwtest-implementation.h
pwtest.c test: add "strict" JSON tests 2024-03-25 20:49:25 +02:00
pwtest.h
test-array.c
test-client.c
test-config.c
test-context.c
test-example.c
test-functional.c
test-lib.c
test-logger.c test: fix test error message check 2024-01-04 10:02:55 +00:00
test-loop.c
test-map.c
test-properties.c spa: json: more parsing errors & add spa_json_get_error 2024-03-25 20:49:25 +02:00
test-pwtest.c
test-spa-buffer.c
test-spa-json.c spa: json: check object key-value pair parity during parsing 2024-03-25 20:49:25 +02:00
test-spa-log.c
test-spa-node.c
test-spa-pod.c
test-spa-utils.c Port: Add tag param 2023-08-29 14:22:13 +02:00
test-support.c
test-utils.c