-
Enterprise Java
Spring MockMVC Get JSON As Object
1. Introduction Spring MockMVC is the Spring MVC testing framework which performs Spring MVC request handling and response asserting via…
Read More » -
Enterprise Java
How to Test a Spring AOP Aspect
1. Introduction Aspect-Oriented Programming (AOP) is one of programming paradigms that separates cross-cutting concerns as aspects. It complements Object-Oriented Programming…
Read More » -
Core Java
Lombok Constructor Annotations Example
1. Introduction Lombok is an open-source Java library that generates getter, setter, toString, equals, hashCode, and constructors automatically to reduce…
Read More » -
Core Java
Read and Write JSON to File with GSON
1. Introduction Using GSON to read and write json to file is easy with the fromJson and toJson APIs. GSON…
Read More » -
Java
Jackson Serialize and Deserialize LocalDate Example
1. Introduction Creating a custom serializer and deserializer via the Jackson library is a common task in Java applications. The…
Read More » -
Core Java
Custom Field Name with @JsonProperty
1. Introduction Custom field name with @JsonProperty is very useful when mapping Java fields to JavaScript Object Notation (JSON) properties…
Read More » -
Core Java
Jackson and Lombok Examples
1. Introduction Jackson is an open-source java library for processing JSONs. It deserializes a JSON string into a Plain Old…
Read More » -
Core Java
Map Subset of JSON via Jackson
1. Introduction JavaScript Object Notation (JSON) is a text-based data format and widely used in the APIs for exchanging data…
Read More » -
Enterprise Java
Hibernate Subselect Annotation
1. Introduction Hibernate is an open source object relational mapping (ORM) tool that provides a framework to map object-oriented domain…
Read More »