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