Class CommentJsonReader

All Implemented Interfaces:
Marshaller<Comment>, Reader<Comment>

@Setup(mode=SINGLETON, priority=2000) public class CommentJsonReader extends EntityJsonReader<Comment>
Since:
10.3
  • Constructor Details

    • CommentJsonReader

      public CommentJsonReader()
  • Method Details

    • readEntity

      protected Comment readEntity(com.fasterxml.jackson.databind.JsonNode jn)
      Description copied from class: EntityJsonReader
      Implement this method to read the entity.
      Specified by:
      readEntity in class EntityJsonReader<Comment>
      Parameters:
      jn - A JsonNode pointing at the root of the json input.
      Returns:
      The parsed entity.
    • fillCommentEntity

      protected static Comment fillCommentEntity(com.fasterxml.jackson.databind.JsonNode jn, Comment comment)
    • setIfExist

      protected static void setIfExist(com.fasterxml.jackson.databind.JsonNode jn, String key, Consumer<String> consumer)