Java
-

Compare Different Numeric Types in Java
Sometimes, we need to compare numbers regardless of their classes or types. This is particularly useful when the format is…
Read More » -

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 » -

How to Traverse All Files from a Folder in Java
Traversing all files in a folder is a common task in Java, whether you need to read files, filter them…
Read More » -

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 » -

Gson Support for Java 8 Date-Time Types
Java 8 introduced a robust date and time API with classes such as LocalDate, LocalDateTime, and ZonedDateTime. These classes provide…
Read More » -

Project Valhalla: Boosting Microservices with the Future of Java
The microservices architecture has become a cornerstone of modern software development, offering agility, scalability, and ease of maintenance. However, traditional…
Read More » -

How to exclude fields in Gson
Google Gson is a library for serializing and deserializing Java objects to and from JSON. Sometimes, it is necessary to…
Read More » -

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 » -

Custom Field Names with @SerializedName in Gson
Gson is a popular Java library for converting Java objects to their JSON representation and vice versa. One of the…
Read More »

