Change the gson code when returning JSON data from remote
€30-250 EUR
Pagado a la entrega
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<>();
}
Nº del proyecto: #9824466
Sobre el proyecto
29 freelancers están ofertando un promedio de €157 por este trabajo
Greetings We have both skill set wordpress+android and insure you work as needed Thanks Shiv
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 Más
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 Más
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 Más
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
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.
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 Más
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 Más
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 Más
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.