Find Jobs
Hire Freelancers

C++ program to convert a struct{} into json data

$10-30 CAD

Igangværende
Slået op næsten 4 år siden

$10-30 CAD

Betales ved levering
I want a c++ program that converts the following structure to a JSON object and then stringifies that object. The end result is an std::string that contains all the data under a JSON string format. Requirements: The program must compile under Linux and Windows I would like a single header JSON library to be used...no DLL and no .libs to manage The program must std::cout the exact same string as the string given at STEP#3 below. Files to return: All the source code files that makes the compilation of the program possible. --------STEP#1:STARTING DATA--------- struct { bool out_inputs_activated[8] = { false,false,false,false,false,false,false,false }; bool out_outputs_activated[8] = { true,true,true,true,true,true,true,true }; bool in_outputForces_activated[8] = { true,false,true,false,true,false,true,false }; int out_inspectionResult = 75; int out_movingTrendResults[10] = { 1,5,7,4,55,3,44,65,11,22 }; std::pair<int, int> out_barChartData[3] = { std::make_pair(10,14), std::make_pair(20,34), std::make_pair(30,44) }; }; --------STEP#2:DATA TRANSFORMED IN A JSON STRUCTURE--------- JSON structure : { "io_states": { "digital_inputs": [ false, false, false, false, false, false, false, false ], "digital_outputs": [ true, true, true, true, true, true, true, true ] }, "system_state": [ "running" ], "inspection": { "result_value": 75, "result_reject_decision": false }, "statistics": { "trend_values": [ 12, 54, 78, 45, 23, 56, 75, 13, 31 ], "bar_chart": [ [ 0, 23 ], [ 10, 76 ], [ 90, 8 ] ] } } --------STEP#3:JSON OBJECT TRANSFORMED TO A STRING--------- Stringified JSON: {"io_states":{"digital_inputs":[false,false,false,false,false,false,false,false],"digital_outputs":[true,true,true,true,true,true,true,true]},"system_state":["running"],"inspection":{"result_value":75,"result_reject_decision":false},"statistics":{"trend_values":[12,54,78,45,23,56,75,13,31],"bar_chart":[[0,23],[10,76],[90,8]]}}
Projekt-ID: 26379120

Om projektet

7 forslag
Projekt på afstand
Aktiv 4 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
7 freelancere byder i gennemsnit $40 CAD på dette job
Brug Avatar.
Hello Sir/ Ma’am We are a group of Software Engineers (Programmers) having 10+ years of experience. Expert in JAVA, C, C++ , C# , Python, ANDROID,IOS, MATLAB, IONIC. Done 700+ projects here on FREELANCER.COM. The bid is negotiable and we can talk about the price. Please check my profile once for reference and expertise. https://www.freelancer.com/u/NovaSofts?w=f Thank you
$20 CAD på 1 dag
4,8 (388 anmeldelser)
7,9
7,9
Brug Avatar.
I am very proficient in c and c++. I have 18 years c++ developing experience now, and have worked for more than 10 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$140 CAD på 3 dage
4,9 (215 anmeldelser)
7,4
7,4
Brug Avatar.
Hi there, I see all three points and understand your requirements, I am ready to convert struct to json, Please message me to start. Thanks
$30 CAD på 1 dag
5,0 (125 anmeldelser)
6,8
6,8
Brug Avatar.
Hello, sir. I'm pretty happy to bid on this interesting project. I read your description carefully and I think that I am the developer you are looking for and are suitable for this task. I can convert a struct{} into json data. Let's start the chat so that we can discuss more on the project. Looking forward to hearing from you soon. Thanks & Regards Olga
$30 CAD på 1 dag
5,0 (34 anmeldelser)
4,7
4,7
Brug Avatar.
Hi There, I've reviewed your requirements.I have 4 years experince in c/C++ Python/java/php. Client's idea + Programmer's good coding is the perfect result. As shown on my profile, I have a lot of experience. Please leave a message,so we can discuss the project in more detail as well negotiate a competitive budget. Thanks.
$20 CAD på 1 dag
5,0 (20 anmeldelser)
4,2
4,2
Brug Avatar.
Hello, I just saw your offer. I believe that I have adequate knowledge and experience to build an exclusive c++ application. With me you'll gain guaranteed quality work for your application. I have immense experience in creating high performant, hyperthreaded and multitasking applications. I have worked in cplusplus on projects related to databases, parallel pipelining, compilers,distributed systems and trading software. [project requirement] If the above offer sounds like something you would be interested in, I’d love to hear from you. Looking forward to hearing from you
$25 CAD på 1 dag
5,0 (6 anmeldelser)
2,1
2,1
Brug Avatar.
Dear, I can convert your structure to a JSON object and then stringifies that object both compiled for Linux and windows. I've 3+ years of experience in Android Development and published several apps in the play store. Apart from this I've also worked on automation testing and have experience in deploying deep learning models, augmented reality in Android. Thank you for taking the time to read my application. Best Regards Shahrear Bin Amin
$15 CAD på 1 dag
1,0 (1 bedømmelse)
3,2
3,2

Om klienten

Flag for CANADA
Saint-Augustin-de-Desmaures, Canada
5,0
6
Betalingsmetode verificeret
Medlem siden maj 20, 2020

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.