Find Jobs
Hire Freelancers

I can't read in a .json file and pass it through to an ArrayList in another .java file (class)

$8-15 USD / hour

Closed
Posted almost 4 years ago

$8-15 USD / hour

import [login to view URL]; import [login to view URL]; import [login to view URL]; import [login to view URL]; import [login to view URL]; import [login to view URL]; import [login to view URL]; import [login to view URL]; public class ReadJson { private String playerName; public static void GSONMethod() { [login to view URL]("GSON"); String jsonFile = "[login to view URL]"; Gson gsonimport = new Gson(); FileReader fileReader = null; try { fileReader = new FileReader(jsonFile); } catch (FileNotFoundException e) { [login to view URL](); } JsonReader jsonReader = new JsonReader(fileReader); List<String> players = new Gson().fromJson(fileReader, new TypeToken<List<String>>(){}.getType()); [login to view URL](players); } public String getPlayerName() { return playerName; } public void setPlayerName(String playerName) { [login to view URL] = playerName; } } class JSONImportToArray { private String[] JSONImport; public static void setArrayFromJSON(){ [login to view URL]("test"); } }
Project ID: 26743063

About the project

19 proposals
Remote project
Active 4 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
19 freelancers are bidding on average $11 USD/hour for this job
User Avatar
Hello I am working in Java/J2EE for 10+ years. I have worked Spring REST service with Mediatype communication using both xml and json. For json conversion I used Jackson. Can we discuss your problem in details? Thanks in advance!
$15 USD in 2 days
4.9 (46 reviews)
6.5
6.5
User Avatar
*** I found the solution of your code*** - Let's discuss on the chat. i will provide you the code right away. Hey, As I have done many Java Problems/Tasks/Assignments of different topics including (but not limited) OOPS Programming Concepts, HashMap, Exception handling, Multi-threading and so on... with conceptual knowledge. - Looking forward to work with you. Cheers! Happy Coding. PS: I can also help related to building Java web Wpplication. As I have also worked on Enterprise Java projects for building Web Applications and Micro-services using Java Spring Framework, Spring Boot, Spring MVC, Spring Security, Rest API. Also on Angular as a front-end and MySql for DB. You can see my Portfolio or I will show my previous work to you.
$8 USD in 1 day
5.0 (182 reviews)
6.1
6.1
User Avatar
Hello, Warm Greetings! I am a Java developer working on Java technology since 7+ years having hands on windows and web development experience. I would like to help in your application development. To proceed further, I am ready to discuss your project and start immediately. Looking forward to hearing you back and discussing all details. Best Regards, Namit K
$20 USD in 40 days
4.9 (81 reviews)
5.8
5.8
User Avatar
Hi i can solve your problem. I have worked on Google gaon librato read json file. To fix i need all files from u r code. Please see my technical expertise in profile section PM me for more discussion
$17 USD in 40 days
4.9 (13 reviews)
4.0
4.0
User Avatar
Hello there, The issue you are having is simple I think. I think I can fix this up. Please ping me anytime. Thanks.
$8 USD in 40 days
5.0 (3 reviews)
1.4
1.4
User Avatar
Hi I’m a certified Java developer. I can help you with reading the JSON file and using the retrieved data as per your requirement. Please do connect, would love to resolve your problem!
$8 USD in 10 days
5.0 (1 review)
0.6
0.6
User Avatar
Dear Client, I have gone through your requirements. I have the solution and I am experienced in Gson library in core java. Kindly, connect with me asap thanks Shareq
$8 USD in 18 days
0.0 (1 review)
0.0
0.0
User Avatar
********************************************************************* no need of this *********************************************************************
$12 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I'm Java developer with 3 years experience with Java. I can build an application according your needed. Let's talk about your project
$8 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi I am Senior Java Developer working in MNC . I am working as a Full Stack developer with experience on Java, Sql and Angular . I am having 4 years of experience in full Stack development which includes Spring, JS, Jquery, Thymeleaf, SQL, Angular, J2EE etc. I can provide you efficient product in sgiven time frame.
$9 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi! I'm a project developer, with over 2 years experience dealing with coding, I can help fix your bugs. I've previously worked with json strings. When do you need this finished by? I understand how annoying it is, and can get this fixed for you quickly!
$12 USD in 48 days
0.0 (0 reviews)
0.0
0.0
User Avatar
hi Team, it's very easy task. am a software developer with 5 years experience. Done many requirment like reading json and parsing . reading Excel. I can easily do it. if you are interested pleay ping me . thanks Karthikeyan
$9 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
As an experienced Java developer with 11+ years of industry experience, I will be able to help you on this task. I have done lot of similar tasks.
$10 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi! I have 3yrs of experience in Software Development with Java. I'm ready to take a look into your issue. Please provide JSON file to be parsed. Thanks Oleg
$8 USD in 40 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I am currently a SWE at Amazon. I am an experience developer with 5+ years of experience. My forays into development include mobile development, enterprise software development, and also web development.
$8 USD in 40 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ROMANIA
Băilești, Romania
5.0
1
Member since Mar 8, 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) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
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.