Day: November 29, 2017

Last Updated on October 15, 2024 by jt JSON has become the most preferred way of transmitting data across network connections. JSON being easily readable by machines is one of the many reasons for JSON’s popularity. However, JSON unless formatted well, is not easily readable by a human. Pretty printing a JSON is one common […]Continue reading

Last Updated on October 15, 2024 by jt While developing applications, we often need to generate random numbers. Java provides support to generate random numbers primarily through the java.lang.Math and java.util.Random classes. Java also has the ability to generate secure random with java.security.SecureRandom, and random numbers isolated to the current thread with java.util.concurrent.ThreadLocalRandom. You can […]Continue reading

Jackson is a Java library for processing JSON data, enabling customization of serialization and deserialization through various annotations. These annotations, categorized as General, Serialization, Deserialization, and Polymorphic Type, provide developers control over JSON integration with Java objects. Key annotations like @JsonProperty, @JsonIgnore, and @JsonCreator facilitate precise data handling.