@Setup(mode=SINGLETON, priority=2000) public class BulkCommandJsonWriter extends ExtensibleEntityJsonWriter<BulkCommand>
ctx, registry
Constructor and Description |
---|
BulkCommandJsonWriter() |
Modifier and Type | Method and Description |
---|---|
protected void |
writeEntityBody(BulkCommand command,
com.fasterxml.jackson.core.JsonGenerator jg)
Implement this method to write the entity body.
|
extend, write
accept, getGenerator, write, writeEntity, writeEntity, writeEntityField, writeSerializable, writeSerializableField, writeSerializableListField, writeSerializableMapField
public BulkCommandJsonWriter()
protected void writeEntityBody(BulkCommand command, com.fasterxml.jackson.core.JsonGenerator jg) throws IOException
ExtensibleEntityJsonWriter
writeEntityBody
in class ExtensibleEntityJsonWriter<BulkCommand>
command
- The Java entity.jg
- A JsonGenerator
ready to write your entity as Json.IOException
Copyright © 2018 Nuxeo. All rights reserved.