Java
-
Intro to Gradle Lint Plugin
Overview Maintaining clean, efficient, and maintainable build scripts is essential for any project that uses Gradle. The Java Gradle Lint…
Read More » -
Print Distinct Characters from a String in Java
In Java, there are multiple ways to print distinct characters from a string. This article will explore three approaches: using…
Read More » -
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 »