The documentation says
--json Suppress verbose output, only show basic information in JSON format. Speeds listed in bit/s and not affected by --bytes (default: false)
However it outputs the upload and download speed fields in mbit/s, the same unit as librespeed-cli without arguments.