A DSL to define JSON schema
File hello.jsons
type Foo {
name: string,
count: int,
price: decimal,
is_active: bool
}
type Bar {
foo: Foo
}
OVERVIEW: A DSL to define JSON schema
USAGE: jsonsc <path> [--verbose]
ARGUMENTS:
<path> Path to .jsons file
OPTIONS:
--verbose Enable verbose logging
-h, --help Show help information.
- Execute:
jsonsc hello.jsons
- Build debug
swift build
- Run debug:
swift run
- Run tests:
swift tests
- Build release:
swift build -c release