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 IOExceptionpublic RootClass read( Reader reader )
throws IOExceptionpublic RootClass read( InputStream input, boolean strict )
throws IOExceptionpublic RootClass read( InputStream input )
throws IOException
jackson-writer
jackson-writer
generator creates
my.model.package.io.jackson.ModelNameJacksonWriter
class with following
public methods:
public void write( OutputStream output, RootClass root )
throws IOExceptionpublic void write( Writer writer, RootClass root )
throws IOException
jackson-extended-reader
jackson-extended-reader
generator creates
my.model.package.io.jackson.ModelNameJacksonReaderEx
class with same public methods
as jackson-reader
, but with location tracking enabled.
If source tracking is enabled in addition to location tracking, the public methods have an extra parameter which is the source tracker instance.