FreshByte Labs

Pages - Menu

▼
Showing posts with label retrofit nested json. Show all posts
Showing posts with label retrofit nested json. Show all posts

How to fix "Expected a string but was BEGIN_OBJECT" in GSON

›
You might have come across a gson exception that says  "Expected a string but was BEGIN_OBJECT". This means that you are parsing ...

How to fix "expected begin_array but was begin_object" in Retrofit ?

›
Before we begin, keep this in mind begin_array  means the json response is an array which will look something like this [{},{},..] beg...
13 comments:

How to parse json using Retrofit 2, Android

›
10 comments:

How to use custom gson converter to parse dynamically changing json with Retrofit 2, Android

›
We often come across situations where our json response contains attributes that switches its type dynamically. For example , if a par...
1 comment:
Home
View web version
Powered by Blogger.