-
Matcher
Validate Email Address with Java Regular Expression example
Email validation is a very frequent requirement in many applications. Basically the main policy that email format follows is that…
Read More » -
Matcher
How To Validate Hex Color Code With Regular Expression
In this tutorial we are going to see how to create a simple application that validates Hexadecimal Color Codes. The…
Read More » -
Matcher
Validate Password with Java Regular Expression example
In the previous tutorial on username validation we explained why input validation is important for your application’s security and data…
Read More » -
Matcher
Validate Username with Java Regular Expression example
When you are writing an application that requires authentication, in most cases, the users should provide a username among other…
Read More » -
JSON.Simple
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 » -
GsonBuilder
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 » -
JsonReader
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 » -
gson
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 » -
Jackson
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
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 »