OS Manuals

/opt/chainguard/nemo-rl/venvs/sglang/bin/genson

NeMo RL venv for SGLang generation and its router

From nemo-rl-cuda-13.0-sglang 0.7.0-r23 (enterprise-packages), captured 2026-11-09 by running genson --help (exit 0). permalink

usage: genson [-h] [--version] [-d DELIM] [-e ENCODING] [-i SPACES] [-s SCHEMA] [-$ SCHEMA_URI]
              ...

Generate one, unified JSON Schema from one or more JSON objects and/or JSON Schemas. Compatible
with JSON-Schema Draft 4 and above.

positional arguments:
  object                Files containing JSON objects (defaults to stdin if no arguments are
                        passed).

options:
  -h, --help            Show this help message and exit.
  --version             Show version number and exit.
  -d, --delimiter DELIM
                        Set a delimiter. Use this option if the input files contain multiple JSON
                        objects/schemas. You can pass any string. A few cases ('newline', 'tab',
                        'space') will get converted to a whitespace character. If this option is
                        omitted, the parser will try to auto-detect boundaries.
  -e, --encoding ENCODING
                        Use ENCODING instead of the default system encoding when reading files.
                        ENCODING must be a valid codec name or alias.
  -i, --indent SPACES   Pretty-print the output, indenting SPACES spaces.
  -s, --schema SCHEMA   File containing a JSON Schema (can be specified multiple times to merge
                        schemas).
  -$, --schema-uri SCHEMA_URI
                        The value of the '$schema' keyword (defaults to 'http://json-
                        schema.org/schema#' or can be specified in a schema with the -s option).
                        If 'NULL' is passed, the "$schema" keyword will not be included in the
                        result.
Options (7)
OptionDescriptionSource
-h, --helpShow this help message and exit.help
--versionShow version number and exit.help
-d, --delimiter DELIMSet a delimiter.help
-e, --encoding ENCODINGUse ENCODING instead of the default system encoding when reading files.help
-i, --indent SPACESPretty-print the output, indenting SPACES spaces.help
-s, --schema SCHEMAFile containing a JSON Schema (can be specified multiple times to merge schemas).help
--schema-uri SCHEMA_URIThe value of the '$schema' keyword (defaults to 'http://json- schema.org/schema#' or can be specified in a schema with the -s option).help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.