pipewire/spa/include/spa
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
..
buffer buffer: add MAPPABLE data flag 2024-02-08 18:09:08 +01:00
control treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
debug spa: debug: log: use SPA_CONTAINER_OF() 2023-11-06 19:01:20 +01:00
graph Fix some warnings 2023-11-21 16:32:51 +00:00
interfaces/audio aec: add new init2 method to initialize with different formats 2023-04-11 16:54:11 +02:00
monitor Fix some warnings 2023-11-21 16:32:51 +00:00
node doc: explain clock/latency more 2024-01-29 08:36:15 +00:00
param profiler: add transport state in the profile block 2024-02-29 14:07:08 +01:00
pod pod: don't iterate 0 sized children 2024-01-16 16:34:37 +01:00
support log: init topic_init function 2024-03-21 17:28:50 +01:00
utils spa: json: check object key-value pair parity during parsing 2024-03-25 20:49:25 +02:00