Change the gson code when returning JSON data from remote

In Progress Posted Mar 2, 2016 Paid on delivery
In Progress Paid on delivery

I have a mobile app, that uses it's own backend to update and pull data. I'm shifting the backend to WordPress and wordpress RestFul API.

The Android application is using gson library to convert a JSON string to an equivalent Java object. There is difference in the JSON response between my backend and WordPress .

URL to getting recipes from old backend

[login to view URL]

URL to getting recipes from new backend based on WordPress

[login to view URL]

The new backend sends back much more JSON data - so many data items needs to be suppressed to take the JSON respond and to map the respond to the JAVA object as is.

I'm looking for someone that know how to use gson library, and map the key JSON string respond to the JAVA object.

Here is the link to the old URL

https://torbjornzetterlund.com/cyclefood/app/services/recipes

Here is the java object for recipe

public class Recipe implements Serializable{
public Long id;
public String name;
public String instruction;
public Integer duration;
public String image;
public Long category;
public String category_name;
public Long date_create;
}


URL old backend
https://torbjornzetterlund.com/cyclefood/app/services/categories

New backend
https://thelonelycyclist.org/wp-json/wp/v2/recipe_categories/

for the category
public class Category implements Serializable {
public Long id;
public String name;
public String banner;
public String description;
public Integer recipes;
public List<Recipe> recipe_list = new ArrayList<>();
}

Android JSON Mobile App Development RESTful

Project ID: #9824466

About the project

28 proposals Remote project Active Mar 4, 2016

28 freelancers are bidding on average €162 for this job

contact2phpsl

Greetings We have both skill set wordpress+android and insure you work as needed Thanks Shiv

€210 EUR in 3 days
(600 Reviews)
9.6
AwaisChaudhry

Hi there! I have read what you exactly need, however I would like to ask you a few questions. I would call myself a master of what I do, I do work smart and do not rest until I get the job done. Please feel free to pin More

€144 EUR in 3 days
(91 Reviews)
8.6
mcaldce2008

A proposal has not yet been provided

€30 EUR in 0 days
(197 Reviews)
7.2
huzefagadi

A proposal has not yet been provided

€157 EUR in 2 days
(135 Reviews)
7.5
clancer1125

Hi there - I read your brief. I have over 3 years experience designing and developing mobile apps for iPhone and Android. Almost are social related and has back-end web service. I'm familiar with Json as well as gson l More

€210 EUR in 1 day
(14 Reviews)
5.6
skronheim

Hello! I have 20 years of software development experience, including 5 years of experience with Android development. I have used GSON quite a bit to translate JSON strings into Java data structures. I am sure that More

€100 EUR in 7 days
(16 Reviews)
5.3
BuddingDev

Hi Sir/Madam, I have read your project requirement. i have 5 years of experience in developing android applications. I have created a custom library to parse and utilise both JSON and XML. I will be able to complete t More

€111 EUR in 1 day
(45 Reviews)
5.1
Dragos1307

worked a lot with gson. no problem for me

€144 EUR in 3 days
(25 Reviews)
5.2
deadlydroid

I like parsing json data I am familiar with gson library and a little php as well I can satrt immediately and deliver you with in a day

€55 EUR in 1 day
(26 Reviews)
4.7
paulhawke

I have extensive experience working with JSON (and the GSON library in particular). I'd be happy to help you map the data you need.

€155 EUR in 7 days
(3 Reviews)
2.4
tarunsitlani

Hello, I have worked with android applications which access data using wordpress rest-api. I have also worked with new end-point and customizing the actual response returned by the wordpress rest api. Please rep More

€155 EUR in 1 day
(5 Reviews)
2.2
ahmednawaz0011

I have experienced gson and have full command over it. allow me to help you out?

€166 EUR in 15 days
(2 Reviews)
1.2
farisjameel

Hey, Hope so you are fine, as I read you project description its really essay for me to do this task because I have lots of experience of using gson library for json parsing and previously I was successfully using gso More

€55 EUR in 1 day
(3 Reviews)
1.3
AlphaCassiopeiae

Hello! My name is Julia, I'm professional android developer from Ukraine. I have rich experience with REST, JSON and gson library. So I think I'll be able to complete work in 1 day. I was expected to get different j More

€55 EUR in 1 day
(0 Reviews)
0.0
samten56

I have the experience of working with restful api and getting the response from the server to the java class in android. I had build two project using restful api to connect to the backend server. I can also provide More

€155 EUR in 3 days
(0 Reviews)
0.0
carlostimoshenko

So, if you only need to someone to map the java classes, if am i correct!? i can do this for you, it is very simple to be honest with you.

€155 EUR in 3 days
(0 Reviews)
0.0