Find Jobs
Hire Freelancers

I need a Java code

$10-30 USD

Closed
Posted over 2 years ago

$10-30 USD

Paid on delivery
We have a JSON object given below. {"label":"Country","value":"1","children":[{"label":"USA","value":"2","children":[{"label":"AZ","value":"3","children":[{"label":"Tempe","value":"4","children":[{"label":"Cotton","value":"5","children":[{"label":"Lake","value":"6","leaf":true},{"label":"Sweet","value":"7","leaf":true}]},{"label":"Sun","value":"9","leaf":true}]},{"label":"Mesa","value":"11","leaf":true}]},{"label":"LV","value":"13","children":[{"label":"Casino","value":"17","leaf":true},{"label":"Fountain","value":"19","leaf":true}]}]},{"label":"Mexico","value":"21","children":[{"label":"Guad","value":"7","leaf":true},{"label":"Puerto","value":"3","children":[{"label":"Beach","value":"4","leaf":true},{"label":"Sand","value":"5","leaf":true}]}]}]} Need to iterate in Java in such a way that for the object whose "leaf" attribute is TRUE, we have to take the "id" attribute to check if it's an ODD number or not. If it is an ODD number then add "children": [ { "label": "Fish", "value": "420" }, { "label": "Duck", "value": "420" } ] to that object. So as per this logic, the JSON will become {"label":"Country","value":"1","children":[{"label":"USA","value":"2","children":[{"label":"AZ","value":"3","children":[{"label":"Tempe","value":"4","children":[{"label":"Cotton","value":"5","children":[{"label":"Lake","value":"6","leaf":true,"children":[{"label":"Fish","value":"420"},{"label":"Duck","value":"420"}]},{"label":"Sweet","value":"7","leaf":true,"children":[{"label":"","value":""}]}]},{"label":"Sun","value":"9","leaf":true,"children":[{"label":"","value":""}]}]},{"label":"Mesa","value":"11","leaf":true,"children":[{"label":"","value":""}]}]},{"label":"LV","value":"13","children":[{"label":"Casino","value":"17","leaf":true,"children":[{"label":"","value":""}]},{"label":"Fountain","value":"20","leaf":true,"children":[{"label":"Fish","value":"420"},{"label":"Duck","value":"420"}]}]}]},{"label":"Mexico","value":"21","children":[{"label":"Guad","value":"7","leaf":true,"children":[{"label":"","value":""}]},{"label":"Puerto","value":"3","children":[{"label":"Beach","value":"4","leaf":true,"children":[{"label":"Fish","value":"420"},{"label":"Duck","value":"420"}]},{"label":"Sand","value":"5","leaf":true,"children":[{"label":"","value":""}]}]}]}]}
Project ID: 32707656

About the project

21 proposals
Remote project
Active 2 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
21 freelancers are bidding on average $30 USD for this job
User Avatar
Hi there, I do Java programming. I went through your requirements and I would like to do this project if given the opportunity. Let me know if you are interested.
$30 USD in 1 day
5.0 (1099 reviews)
7.7
7.7
User Avatar
Hi I am an expert Java developer with over 4 years of development experience. I can build you this simple app in 3 days. Let's discuss it over chat Regards
$20 USD in 1 day
5.0 (90 reviews)
6.3
6.3
User Avatar
Hi Greetings I can do this for you with java spring application using jackson library , it would rest api i hope Regards
$20 USD in 1 day
4.4 (53 reviews)
5.8
5.8
User Avatar
Hi, Hope you are doing well, I went through your requirements, I am pretty much confident that I can complete this task as I am expert in Java, Json and I have done similar kind of projects already and deliver in few hours. About myself: I have 10+ years’ hands on experience in Development/Automation testing using Java, Spring, Hibernate, Struts, JAXRS/WS, Micro services architecture. Expert in implementing TDD/BDD using Junit, TestNG, Mockito, DBUnit, SpringMock, Rest fuse, Rest assured technologies. Please ping to discuss further
$50 USD in 1 day
4.7 (26 reviews)
4.8
4.8
User Avatar
Hello, I have worked on JSON objects in Java. I have 4+ years of experience working as a java developer. I can complete this project within given time. Please discuss the details over chat. Thank you.
$20 USD in 1 day
5.0 (3 reviews)
4.0
4.0
User Avatar
Hello? How are you? Thanks for posting this job. I am a Senior Java developer with 8+ years experience in JavaFX and Java Swing. I have been doing this kind of Java projects many times. Please let me know. Best Regards
$50 USD in 1 day
4.4 (12 reviews)
4.3
4.3
User Avatar
Hi I have seen your job description and interested in work of java project. Please provide more details about the work. Best
$25 USD in 7 days
5.0 (18 reviews)
3.7
3.7
User Avatar
Hi, I have around 8+ yrs of exp. in java/j2ee and mainly worked in java8, Spring boot, Spring MVC, JPA/Hibernate, RDBMS and NoSQL databases. We can discuss more details over the chat.
$25 USD in 7 days
5.0 (12 reviews)
2.5
2.5
User Avatar
Hi esteemed client, Did you know accurate bug free code is not sheer luck but 100% work effort from an experienced developer? I am here to confidently ascertain that I will assist in the fixing the Json object and append required items as outlined. There is no risk and no obligation so feel free to send me a message. Inbox and lets talk. Oh, don't worry - whatever state your project is currently in, I can pretty much guarantee I've seen worse :) - David
$50 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I am a java full stack developer. As i have experience in developing java back end codes and working with json data. I can easily complete your requirements. It's fact that it will be my first project on this site. I will try to complete it and submit as soon as possible. My target on this platform is too high. It will be my pleasure if you will accept me for this work and give a change to complete your work on a smooth conduct.
$20 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi. I can accept right now and can do this in 2hr. I've read your requirements very carefully and I have a good idea. I have 7+years of great experience in Java Spring Boot, Java Plugin. So more specifically my skills are … - HTML5, Bootstrap, Javascript, Jquery, XML, Typescript - Java/J2EE(Servlet with JSP), JavaFX, JPA, Hibernate, JSTL - Spring MVC, Spring Data, Spring Cloud, Spring boot - Restful API, Micro services, Kafka, Junit, Jacoco, Jboss I hope you share with me more details about your project. Waiting for your reply. Thank you.
$19 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I am Atul Sontakke. I have 2.5 years of experience with Java. I also work on JSON databases. I will finish project as soon as you required. Thank you
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have 5+ years of experience in Java and rest API. I have handled JSON object in past.I’m interested to hear more about the project. If you award me the project, I’d be pleased to discuss this further and get started for you as soon as possible. Thanks! Shweta
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have a lot of experience with JSON documents. I often worked with test data which is usually present in JSON files.
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello sir, I checked your requirements and I am interested to work with you for this project. I think my experience makes me the right person for this job.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am a Java full stack developer having 11 years of experience. This is very simple program. I can help you to solve this.
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I am a Java Android Developer. I am also Familiar with json and java. So I can do this work perfectly
$16 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
[Date /Time :25/01/2022 02:20 PM IST] Hi Sir /Madam, I am an experienced Full stack java developer worked with IT giants as full time employee (TCS and IBM) and new to freelancer world. Kindly provide me opportunity to work on mentioned problem statement. Thanks
$15 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Phoenix, United States
0.0
0
Member since Sep 15, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.