Skip to content

jayeshpansheriya/OkHttpLibrary

Repository files navigation

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.

About

Webservice call using okhttp network library With Gson

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages