hops2json
Convert HOPS-format data into JSON.
Usage
hops2json [OPTIONS] input [output]
Description
hops2json reads a HOPS-format file and converts it to JSON. You can control output verbosity, formatting, and filter by specific UUIDs or shortnames. If no output file is specified, the result is saved in a new file called <input-file>.json.
Positional Arguments
Argument |
Description |
---|---|
|
REQUIRED. Path to the input HOPS-format file. |
|
Optional. Path to the output JSON file. Defaults to <input>.json. |
Options
Option |
Description |
---|---|
|
Print this help message and exit. |
|
Level of detail in output. Range: 0 (low) to 4 (high). Default: 4. |
|
Set verbosity level. Range: -2 (debug) to 5 (silent). |
|
Indent JSON output using the specified number of spaces. Default: disabled. |
|
Extract and return a single object matching this UUID. |
|
Extract and return a single object matching this shortname (returns first match). |
|
Same as the positional |
|
Same as the positional |