In this post we will learn about TestNG Suite test. A Suite in TestNG is commonly represented by one XML…
In this post we will learn about how to use TestNG groups testing feature using @BeforeGroups, @AfterGroups and group exclusion.…
In this post we will learn common TestNG annotations including @Test, @BeforeMethod, @AfterMethod, @BeforeClass, @AfterClass, @BeforeGroups, @AfterGroups, @BeforeSuite, @AfterSuite, @BeforeTest…
In this post we will learn a very basic Hello World example using TestNG. We will learn how to setup…
Google Gson provides useful annotations which can customize the serialization/deserialization of object to/from JSON. We will see commonly used Google…
Lets learn Gson ExclusionStrategy and how it can help us.What if you want to exclude some fields from Serialization and…
Sometimes default serialization/deserialization used by GSON is not sufficient enough and we need a custom behavior to be applied while…
Similar to Jackson Streaming API, Google GSON too provides streaming API for the situation where performance is utmost important. Gson…
Similar to Jackson API, Google GSON API provides a conceptual tree notion for JSON. Google Gson Tree model API provides…
This post explains converting Java object to/from JSON using Google GSON library. To get hold of JSON Basics concepts, please…