GENSON(1)

πŸ“¦
version 1.4.0 Β· 2 versions
, in ubuntu stonking

🌸 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, --delimiter DELIM β€” 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, --encoding ENCODING β€” use ENCODING instead of the default system encoding when reading files. ENCODING must be a valid codec name or alias, fr fr
  • -i, --indent SPACES β€” pretty-print the output, indenting SPACES spaces. aesthetic ✨
  • -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 it can be specified in a schema with the -s option. 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