Class EntityJsonReader<EntityType>

    • Constructor Detail

      • EntityJsonReader

        public EntityJsonReader​(String entityType)
        Parameters:
        entityType - The expected "entity-type" property in the json.
    • Method Detail

      • readEntity

        protected abstract EntityType readEntity​(com.fasterxml.jackson.databind.JsonNode jn)
                                          throws IOException
        Implement this method to read the entity.
        Parameters:
        jn - A JsonNode pointing at the root of the json input.
        Returns:
        The parsed entity.
        Throws:
        IOException
        Since:
        7.2