Tag: json

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

2

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 human. Pretty printing a JSON is one common operation to improve the readability of the JSON. Enabling […]Continue reading

0

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

0

GSON is a very popular Java library for work with JSON. JavaScript Object Notation (JSON) is a lightweight data exchange format. Like XML, JSON provides a way of representing object that is both human readable and machine processable. JSON is the most commonly used data exchange format on the Web. In the Java ecosystem, several […]Continue reading

2

Its 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. XML provides a very structured way of sharing data between systems. XML is so structured, many find it too […]Continue reading

4