jsonix-schema-compiler

2.3.9 • Public • Published

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

/jsonix-schema-compiler/

    Package Sidebar

    Install

    npm i jsonix-schema-compiler

    Weekly Downloads

    1,493

    Version

    2.3.9

    License

    none

    Last publish

    Collaborators

    • highsource