Add following dependency or download Gson [jar][1] file
implementation 'com.google.code.gson:gson:2.8.2'
Follow [github repo][2] for documentation and more.
[1]: http://repo1.maven.org/maven2/com/google/code/gson/gson/2.8.1/
[2]: https://github.com/google/gson