Reading JSON file and Writing into a JSON file in Java using selenium Webdriver
<p>I am working on an Automation Framework and I am looking for an alternative for excel to store test data, element locators and page objects. </p>

<p>So one my friend working on Automation is using json file to store all data as its easy and faster in reading and writing data, Also it can be easy in maintaining. They are using ruby as the language. </p>

<p>So I wanted to know if we can do the same using java &amp; selenium to achieve this?</p>

<p>I have searched google for this and it looks like there is a library called "gson" from google, but none that shows how to use it using selenium.</p>

<p>please share your thoughts on this.</p>

<p>Thank you!!</p>