Map Serialization and Deserialization with Jackson 1. Overview In this article, we’ll look at serialization and deserialization of Java maps using Jackson. We’ll illustrate how to serialize and deserialize Map<String, String>, Map<Object, String>, and Map<Object, Object> to and from JSON-formatted Strings. 2. Maven Configuration [source,xml,gutter:,true] <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.9.4</version> </dependency>… Continue Reading jackson-map

Spring JSON-P with Jackson 1. Overview If you’ve been developing anything on the web, you’re aware of the same-origin policy constraint browsers have when dealing with AJAX requests. The simple overview of the constraint is that any request originating from a different domain, schema or port, will not be permitted.… Continue Reading spring-jackson-jsonp

More Jackson Annotations 1. Overview This article covers some additional annotations that were not covered in the previous article, A Guide to Jackson Annotations – we will go through seven of these. 2. @JsonIdentityReference @JsonIdentityReference is used for customization of references to objects that will be serialized as object identities… Continue Reading jackson-advanced-annotations