@Setup(mode=SINGLETON, priority=2000) public class AnnotationJsonReader extends EntityJsonReader<Annotation>
ctx, registry
Constructor and Description |
---|
AnnotationJsonReader() |
Modifier and Type | Method and Description |
---|---|
protected Annotation |
readEntity(com.fasterxml.jackson.databind.JsonNode jn)
Implement this method to read the entity.
|
read
accept, getBooleanField, getLongField, getNode, getStringField, getStringListField, read, readEntity
public AnnotationJsonReader()
protected Annotation readEntity(com.fasterxml.jackson.databind.JsonNode jn) throws IOException
EntityJsonReader
readEntity
in class EntityJsonReader<Annotation>
jn
- A JsonNode
pointing at the root of the json input.IOException
Copyright © 2018 Nuxeo. All rights reserved.