2.3.9 • Published 8 years ago

jsonix-schema-compiler v2.3.9

Weekly downloads
38
License
-
Repository
github
Last release
8 years ago

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"
		...
	}
	...
}