jsonix-schema-compiler
v2.3.9
Published
Jsonix Schema Compiler generates Jsonix mappings from XML Schemas
Downloads
685
Maintainers
Readme
Jsonix Schema Compiler
Generates Jsonix mappings for XML Schemas.
Please refer to Wiki for documentation.
This package provides the Jsonix Schema Compiler (under lib/jsonix-schema-compiler-full.jar
).
So you can invoke the schema compiler via command line as follows:
java -jar node_modules/jsonix-schema-compiler/lib/jsonix-schema-compiler-full.jar schema.xsd
Usage
Typical usage is as follows:
- Make your package depend on
jsonix-schema-compiler
. - Invoke the Jsonix Schema Compiler in
scripts/prepublish
.
Example
{
"name": "mypackage",
...
"dependencies": {
...
"jsonix-schema-compiler": "~<VERSION>"
...
},
...
"scripts": {
...
"prepublish" : "java -jar node_modules/jsonix-schema-compiler/lib/jsonix-schema-compiler-full.jar schema.xsd"
...
}
...
}