@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.
|
read
accept, getBooleanField, getLongField, getNode, getStringField, getStringListField, read, readEntity
public CommentJsonReader()
protected Comment readEntity(com.fasterxml.jackson.databind.JsonNode jn)
EntityJsonReader
readEntity
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.