Find Jobs
Hire Freelancers

C code to transform JSON data structures into CSV

$250-750 USD

In Progress
Posted almost 9 years ago

$250-750 USD

Paid on delivery
I have large files that contain JSON data structures (2 samples are attached). The data structures are nested JSON structures in some cases. I need a set of C (not C++) based routines for processing these files and transforming the JSON into CSV (jsmn might be the best option). The example code needs to include functionality to store data structures into a hash structure and the ability to export data to CSV. You will deliver a working example of C code (include C files and Header files) that does the following: 1 - Iterates the sample files (build some larger examples of the JSON data I provided), loading the JSON structure on each line, and providing access to the loaded data structure using string keys (not numeric indices/offsets). Example: value["key"] 2 - During processing, you will accumulate some of the values into a tuple structure that is stored into a Hash. Ruby example: h[k] = { :id => domain, :name => domain, :label => "Domain" } 3 - You will provide a function to store the hash into a CSV, taking the data and a header line to store in the file. This is part of an ETL system (extract, transform, and load) and needs to be fast. Although this is C code, I use structs and enums in my C code to make it readable and to organize it.
Project ID: 7697071

About the project

19 proposals
Remote project
Active 9 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 $480 USD for this job
User Avatar
A proposal has not yet been provided
$250 USD in 3 days
4.9 (1151 reviews)
7.7
7.7
User Avatar
A proposal has not yet been provided
$750 USD in 5 days
5.0 (84 reviews)
7.3
7.3
User Avatar
Hi. It's me you are finding for. I have read your project with great care and I am sure I can do a perfect job for you. I have a experience in this side. If you hire me , I can provide top quality within your timeline and budget. I regard my honor than everything else. You can make sure about this checking my review. I am proud of my past productions and I will provide you the better things.
$631 USD in 10 days
5.0 (5 reviews)
6.0
6.0
User Avatar
Hello I have 25+ years of C/C++ experience, 10 years as freelancer 300+ projects completed. As reading the project description I don't think this is a $250 project (wide cheaper) but lets discuss the details and set the correct amount. Bid Details: · I´ll send you a full tested and documented program (in code). · Unlimited cycles of revision in the agreed time period. · Full advice about the best way to do the implementation. Please contact me to discuss the details. Thanks.
$250 USD in 5 days
4.9 (32 reviews)
5.3
5.3
User Avatar
Hello! I am experienced C/C++ programmer (over 6 years). I propose do it with jsmn, or another, library for windows and linux platforms. Thanks.
$400 USD in 7 days
5.0 (8 reviews)
4.7
4.7
User Avatar
Hello. More 20 years programming experience. C is the best, but do you insist on C or other languages are also possible? Regards. ---------------------------------------------------------------------------------------------------------------------------------------------------
$250 USD in 7 days
4.8 (14 reviews)
4.5
4.5
User Avatar
Hi, I think you need to relax your expectations a great deal. You can't just have a high-level language like dictionary in C, something like var["key"]. C is a strong type language and it's impossible to have both access to a dictionary to read both a number and an array! Despite all these facts, I can implement an easy to use set of structures and functions and examples to show how they work. For example your hash-map will be something like this: var("key") which returns a struct containing either another dictionary or an array or a number. I can also use jsmn format for this task if you want (in this case I want 100 USD less). Please contact me if you're interested.
$666 USD in 10 days
5.0 (2 reviews)
3.6
3.6
User Avatar
Hi, I am interested in your project. I have a good skill in C++ & C# developments. Especially C/C++ & C# programming is my one of best skill and I am sure that I can help you with this project - My needs * Before discuss about this job, Don't award me. * When award me, I hope you pay some for this job. Thanks
$500 USD in 10 days
5.0 (7 reviews)
3.6
3.6
User Avatar
First, I am sunsoftpro, I from VietNam. Nice to meet you! I have read your description and been interested in your project. I'm ready to discuss and do hard working so that complete great job. Please discuss before awarding the project.
$700 USD in 12 days
4.8 (2 reviews)
3.3
3.3
User Avatar
Hi there, After reading your project description it looks like you require a JSON parser to convert JSON data to a CSV format. The parser must parse each JSON object into a hash(i.e. dictionary/hash map). These hashes may require keys to point to values that are structs. I have over 5 years of experience in creating C solutions so I believe I am capable of completing this project. I could complete it within a week. Regards, John
$250 USD in 7 days
5.0 (9 reviews)
3.4
3.4
User Avatar
Dear sir, i have read your project. i think i can help U to done it. i dont know i can join to your project? thanks
$555 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have worked on ETL based projects and I am good at it. I have done lots of data conversions from/to data structures to/from CSV formats. I can deliver the quality code to you in less time.
$250 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I am Technical resource and throughout such kind of requiremnet. So suitable resource for this project.
$555 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$277 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have +1 year programming experience in Java, C/C++. I have completed my graduation and post graduation from one of the top college of India. I have implemented this kind of project during my college project in which we received Json through RestApi and save data into .csv file.
$250 USD in 4 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$277 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
ODENTON, United States
5.0
4
Member since Feb 5, 2015

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.