Skip to content

sakars/JSOG

Repository files navigation

JSOG

Build and Test

This is a tool for generating C++ files from JSON Schemas.

Usage

JSOG [options] <schema files>

Options

  • --help: Display help message.
  • -h: Alias for --help.
  • --output-directory <path>: Output directory for generated files. Default is current directory.
  • -o: Alias for --output-directory.
  • --dump-schemas: Logs intermediate representation of schemas for debugging purposes.
  • -d: Alias for --dump-schemas.
  • --require <uri>: Adds a JSON Schema URI to the list of required schemas.
  • -r: Alias for --require.
  • --preferred-identifier <uri> <identifier>: Sets the preferred identifier for a schema.
  • -p: Alias for --preferred-identifier.
  • --namespace <namespace>: Sets the default global namespace for generated files.
  • -n: Alias for --namespace.
  • --no-namespace: Disables generation of namespaces.
  • -nn: Alias for --no-namespace.
  • --define-prefix <prefix>: Sets the prefix for generated #define guards.
  • -dp: Alias for --define-prefix.
  • --indent <indent>: Sets the indentation string for generated files. 2 spaces by default.
  • -i: Alias for --indent.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published