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 » -
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 » -
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 » -
Java’s Performance and Efficiency with GraalVM
For decades, Java has reigned supreme in enterprise development, renowned for its robustness and rich ecosystem. However, traditional Java applications…
Read More » -
Parse JSON using Moshi
Moshi is a modern JSON library for Android and Java by Square. It simplifies parsing and serializing JSON, supports annotations,…
Read More »