GENSON(1)
πΈ NAME πΈ
genson β a user-friendly JSON Schema generator, and yes she's that girl π
(ur reading GENSON(1), in the User Commands section, just so u know exactly where u are bestie π«Ά)
π¦ DESCRIPTION π¦
okay so the vibe is literally:
usage: genson [-h] [--version] [-d DELIM] [-e ENCODING] [-i SPACES]
[-s SCHEMA] [-$ SCHEMA_URI] ...
what does she DO tho? she generates one, unified JSON Schema from one or more JSON objects and/or JSON Schemas. one schema. unified. no chaos. β¨
and she's compatible with JSON-Schema Draft 4 and above, so ur covered. periodt. π₯
π positional arguments π
- object β files containing JSON objects. no arguments passed? she defaults to stdin. she's flexible like that π
π options π
-h,--helpβ show this help message and exit. iconic, honestly--versionβ show the version number and exit π-d,--delimiterDELIM β set a delimiter. use this one when ur input files contain multiple JSON objects/schemas. u can pass literally any string. a few cases ('newline','tab','space') get converted to a whitespace character. omit this option and the parser will try to auto-detect boundaries for u β main character energy tbh-e,--encodingENCODING β use ENCODING instead of the default system encoding when reading files. ENCODING must be a valid codec name or alias, fr fr-i,--indentSPACES β pretty-print the output, indenting SPACES spaces. aesthetic β¨-s,--schemaSCHEMA β file containing a JSON Schema. can be specified multiple times to merge schemas π«Ά-$,--schema-uriSCHEMA_URI β the value of the'$schema'keyword. defaults to'http://json-schema.org/schema#', or it can be specified in a schema with the-soption. and if'NULL'is passed, the"$schema"keyword will not be included in the result π
and that's the whole thing bestie, no cap. this was genson 1.4.0-2, from August 2026, and yes ur still in GENSON(1). go generate something gorgeous πππ
π¦ where this page comes from
- ubuntu stonking: python3-genson 1.4.0-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms