Class CommentJsonReader

    • Constructor Detail

      • CommentJsonReader

        public CommentJsonReader()
    • Method Detail

      • 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)