llsd2json
CLIs to convert between Linden Lab Structured Data (LLSD) and JSON.
Example:
$ echo '<llsd><map><key>name</key><string>Ruth</string></map></llsd>' | llsd2json | jq -r .name
Ruth
Install and use
Install llsd2json with pip or pipx
pipx install llsd2json
llsd2json
usage: llsd2json [-h] [--format {auto,xml,binary,notation}] [input]
Convert LLSD to JSON
positional arguments:
input LLSD string (default: stdin)
options:
-h, --help show this help message and exit
--format {auto,xml,binary,notation}, -f {auto,xml,binary,notation}
LLSD format
json2llsd
usage: json2llsd [-h] [--format {xml,binary,notation}] [input]
Convert JSON to LLSD
positional arguments:
input JSON string (default: stdin)
options:
-h, --help show this help message and exit
--format {xml,binary,notation}, -f {xml,binary,notation}
LLSD format
Notes
Conversion between LLSD and JSON is not perfectly bi-directional. JSON does not
support several LLSD data types such as date, binary, uri, and has no
distinct number types.
Metadata
Release files for llsd2json 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| llsd2json-1.0.0.tar.gz | 7.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llsd2json-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.1 kB
Release files / llsd2json-1.0.0.tar.gz
| Download URL | llsd2json-1.0.0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfa0479538c5ddbd9ded8be15adb6fd1829303b44848595bdfeb317fed946abd
|
|
BLAKE2b-256 checksum How to use checksums |
72916c6b73bccd33b170175d92d46315d8014ad67e034b6f831c4b9ca4bcec4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Release files / llsd2json-1.0.0-py3-none-any.whl
| Download URL | llsd2json-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee79e31076018fa71d6790ce02dd00cbe3268eecb58c99932f8ab9f1bc5ae760
|
|
BLAKE2b-256 checksum How to use checksums |
b501f170bac76f8fe60abc0ff48af8f8efe05883e68fb5fefccf9b0e5e37a233
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Security for llsd2json 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.