Documentation ¶
Overview ¶
jsonpack-parser is a tool to generate jsonpack schema definition from specified package and struct name.
Usage: jsonpack-parser -s <PACKAGE_DIR> -n <STRUCT_NAME> [options]
<PACKAGE_DIR> is the package directory which contains golang source files.
<STRUCT_NAME> is the structure name that want to generate schema definition.
Optional Options -o: output file name for schema definition, program will output to stdout if this option not specified
-p: prettify output JSON text of schema definition with indentation
-h: print help
Click to show internal directories.
Click to hide internal directories.