Tag: jackson

Prior to Jackson 1.2, the only way to serialize or deserialize JSON using Jackson was by using one of the following two methods: Adding annotations to modify the POJO classes Writing custom serializers and deserializers Now imagine you want to serialize or deserialize a 3rd party POJO which you don’t have access to its source […]Continue reading

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

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

It’s not uncommon for computers to need to communicate with each other. In the early days, this was done with simple string messages. Which was problematic. There was no standard language. XML evolved to address this and provides a very structured way of sharing data between systems. XML is so structured, but many find it […]Continue reading

Recently while working with Jackson within a Spring Boot project, I encountered an issue I’d like to share with you. Jackson is currently the leading option for parsing JSON in Java. The Jackson library is composed of three components: Jackson Databind, Core, and Annotation. Jackson Databind has internal dependencies on Jackson Core and Annotation. Therefore, adding […]Continue reading