Day: November 29, 2017

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 operation to improve the readability of the JSON. […]Continue reading

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. In this post, I will discuss different ways to generate random numbers based on different types of requirements. Random Numbers using the Math Class Java provides the Math class in the […]Continue reading

Jackson is a suite of data-processing tools for Java comprising of three components: Streaming (jackson-core) defines low-level streaming API and includes JSON-specific implementations. Annotations (jackson-annotations) contains standard Jackson annotations. Databind (jackson-databind) implements data-binding (and object serialization) support on streaming package. This package depends both on streaming and annotations packages In this post, I will explain […]Continue reading