Skip to content Skip to sidebar Skip to footer
Showing posts with the label Gson

Why Am I Getting A Jsonsyntaxexception: Expected Begin_array But Was String Here?

I have one JSON file: { 'settings': { 'header': { 'id': '24… Read more Why Am I Getting A Jsonsyntaxexception: Expected Begin_array But Was String Here?

Gson - Putting And Getting ArrayList Of Composite Objects

I have class NameAndPostion in which I am going to store name and position of users. And I have cre… Read more Gson - Putting And Getting ArrayList Of Composite Objects

Android: Using GSON To Parse A Response With Dynamic Fields

I need to parse a JSON response regarding events in an agenda, of which a field is dynamic. This fi… Read more Android: Using GSON To Parse A Response With Dynamic Fields

Expected BEGIN_ARRAY But Was BEGIN_OBJECT At Line 1 Column 35

I freshly started with gson and i am trying to parse a JSON string which starts as an object and al… Read more Expected BEGIN_ARRAY But Was BEGIN_OBJECT At Line 1 Column 35

Making GsonRequest To Accept Empty List Or Null Array

I have a Json data to be pulled from a server. This data contains several objects and arrays. The … Read more Making GsonRequest To Accept Empty List Or Null Array

Gson Throws An Exception On > 4.0 Devices

I'm using Gson successfully to place json into an object. It works like a charm on devices with… Read more Gson Throws An Exception On > 4.0 Devices