An open API service indexing awesome lists of open source software.

https://github.com/jayeshpansheriya/okhttplibrary

Webservice call using okhttp network library With Gson
https://github.com/jayeshpansheriya/okhttplibrary

android-webservice-helper gson gson-converter json network-library okhttp webservice

Last synced: about 2 months ago
JSON representation

Webservice call using okhttp network library With Gson

Awesome Lists containing this project

README

          

# OkHttpLibrary
Webservice call using okhttp network library With Gson

- Here Webservice is a common class of okhttp library
- Helper Class Made json using array

Some Dependencies are required:
```
implementation 'com.squareup.okhttp:okhttp:2.0.0'
implementation 'com.google.code.gson:gson:2.2.4'
```

Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of. For this purpose Gson provides several built in serializers and deserializers. A serializer allows to convert a Json string to corresponding Java type and a deserializers allows to convert from Java to a JSON representation. You can also configure Gson to use custom representations of your objects.