mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Support reading from stdin and report syntax errors.
Also don't do extra spa_json_enter when inserting a dummy "{" when
parsing files with top-level keys. In this case the tokenizer is
already "entered" after spa_json_init, and will give parse error when we
are not inserting the closing "}" for the dummy "{".
24 lines
414 B
Markdown
24 lines
414 B
Markdown
\page page_man_spa-json-dump_1 spa-json-dump
|
|
|
|
SPA JSON to JSON converter
|
|
|
|
# SYNOPSIS
|
|
|
|
**spa-json** *[FILE]*
|
|
|
|
# DESCRIPTION
|
|
|
|
Reads a SPA JSON file or stdin, and outputs it as standard JSON.
|
|
|
|
# EXAMPLES
|
|
|
|
**spa-json-dump** $(PIPEWIRE_CONFDATADIR)/pipewire.conf
|
|
|
|
# AUTHORS
|
|
|
|
The PipeWire Developers <$(PACKAGE_BUGREPORT)>;
|
|
PipeWire is available from <$(PACKAGE_URL)>
|
|
|
|
# SEE ALSO
|
|
|
|
\ref page_man_pipewire_1 "pipewire(1)"
|