device --json

nRF Util

tags
nRF Util

Use the nrfutil device subcommands with the --json flag to print command output in a machine-readable JSON format.

The JSON output is written to stdout and can be used in scripts or by other applications that parse JSON. Each line of output is a separate JSON object, making it suitable for streaming and line-by-line processing.