Consume, produce and ignore JSON properties with Jersey2

In this tutorial we discuss how you can automatically consume and produce JSON using Jersey2 Rest web services. Furthermore we demonstrate the usage of annotations to exclude properties from being serialized or deserialized using FasterXML/Jackson and the @JsonIgnore as well as @JsonProperty annotation. You can download the example code at Github. 1. Prerequisites Install Apache Tomcat (we use version 8.5). If not already installed, please have a look at these 2 tutorials: Install Apache Tomcat on Windows Add Tomcat server runtime to EclipseEE (if you work with EclipseEE) Install Apache Maven to…

Read More