Back to project page android-ipcam.
The source code is released under:
GNU General Public License
If you think the Android project android-ipcam listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package cz.janchvala.android.ipcamera.rest; /* ww w .j a v a 2s .c o m*/ import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; /** * Jackson json object mapper set for ignoring unknown fields * <p/> * Created by jan on 10.11.2014. */ public class JacksonJsonConverter extends MappingJackson2HttpMessageConverter { public JacksonJsonConverter() { super(); ObjectMapper mapper = new ObjectMapper(); mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); this.setObjectMapper(mapper); } }