package com.transformuk.bdt.mapit.domain; import java.util.ArrayList; import java.util.List; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class MapItPointResponse { private List<Entity> entityList = new ArrayList<Entity>(); @JsonAnySetter public void setDynamicProperty(String name, Entity entity) { entityList.add(entity); } public List<Entity> getEntityList() { return entityList; } public void setEntityList(List<Entity> entityList) { this.entityList = entityList; } }