Core Java
-
JSON.Simple Example to read and write JSON in Java
In this example we are going to see a very nice JSON framwork, JSON.simple. In this tutorial we are going…
Read More » -
Enable Pretty Print JSON Output using Gson example
In this example we are going to see how to enalbe pretty printing in JSON. As you might have noticed…
Read More » -
Gson Streaming to read and write JSON in Java example
In this example we are going to see GSON straming API to read and write JSON in a Java application.…
Read More » -
Convert Java Object To / From JSON using Gson example
In this example we are going to see how to use Gson Java library in order to convert a Java…
Read More » -
Enable Pretty Print JSON Output using Jackson example
As you might have noticed in the previous JSON tutorials, the output of the programs is not properly aligned, which…
Read More » -
Jackson Streaming API to read and write JSON example
Jackson project has implemented a very useful Streaming API which is also called incremental mode. This is the most efficient…
Read More » -
Jackson Tree Model example
In this example we are going to see how to use Jackson Tree Model. This model is very similar in…
Read More » -
Convert Java Map To / From JSON using Jackson example
With this example we are going to see how to convert a java.util.Map Object to /from JSON representation using the…
Read More » -
Convert Java Object To / From JSON using Jackson example
In this example we are going to see how to conver a Java Object to JSON representation using Jackson. Jackson…
Read More » -
Convert XML File into Properties object
In the previous tutorial we saw how to convert Properties object to XML Format and write it to XML File.…
Read More »