Modello Jackson Plugin

Modello Jackson Plugin generates YAML readers and writers based on Jackson APIs, plus reader delegates to be able to read multiple model versions.

jackson-reader

jackson-reader generator creates my.model.package.io.jackson.ModelNameJacksonReader class with following public methods:

  • public RootClass ( Reader reader, boolean strict )
        throws IOException
  • public RootClass read( Reader reader )
        throws IOException
  • public RootClass read( InputStream input, boolean strict )
        throws IOException
  • public RootClass read( InputStream input )
        throws IOException

jackson-writer

stax-writer generator creates my.model.package.io.jackson.ModelNameJacksonWriter class with following public methods:

  • public void write( OutputStream output, RootClass root )
        throws IOException
  • public void write( Writer writer, RootClass root )
        throws IOException