C++ JSON to class/struct equivalent

In Progress Posted Jan 25, 2016 Paid on delivery
In Progress Paid on delivery

We need someone to write a test runner that will read some files, run it through our parser, and verify the result. The results are in JSON, but our parser produces C++ classes and structs. It's obvious how to read files and run it through our parser. The real work involves reading the JSON (e.g. with rapidjson) and converting it to our equivalent class/struct.

Here is the list of test fixtures (inputs are .js files, outputs are .json files):

[login to view URL]

In C++, instead of using JSON, we represent the data using classes/structs. It is your job to translate the JSON into tests that use the class/struct. There are 800-900 tests. We do NOT want you to manually rewrite each test in C++. We want you to automatically read the JSON and make sure our classes/structs matches the JSON output.

Some familiarity with abstract syntax trees (ASTs) and the visitor pattern may be necessary.

Here is an example of what our classes/structs look like: (from line 207 downward)

[login to view URL]

If you bid, please include an overview of your design/plan. I already know how to design this. You're being hired because I don't have time to write the code. I want to hear your design so I know I can at least trust you to do the job correctly.

C++ Programming Software Testing Test Automation Testing / QA

Project ID: #9454223

About the project

14 proposals Remote project Active Jan 26, 2016

14 freelancers are bidding on average $633 for this job

Yknox

Hello I'm interesting your project very well I'm a Good C++, Java, JSon, Math, Algorithm expert. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. Than More

$650 USD in 7 days
(535 Reviews)
8.7
hbxfnzwpf

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environ More

$250 USD in 10 days
(83 Reviews)
6.5
Anurag7

Hi, I have 11 years of experience. I have developed compiler also. I am aware of Visitor pattern and required parse tree to develop. I am keen to work on your project. Thanks, Anurag

$300 USD in 5 days
(15 Reviews)
4.4
romanuwa

Dear SIr, I am an expert in C++ programming language, I can definitely implement this testing tool for you. I want to clarify few things about your parser before presenting you the design. 1.) Input to your parser i More

$250 USD in 4 days
(15 Reviews)
4.5
narendragautam

Hi, I am interested. Thanks narendra

$500 USD in 6 days
(4 Reviews)
3.8
tranthecoder

The solution that i'm going to implement is simple: Use rapidjson to get the DOM from JSON files, and then iterate through the tree that your parser product and for each child object in the structure that your parser More

$300 USD in 5 days
(0 Reviews)
0.0
Haza4013

a simple string comparison can also be used. But forming a proper grammar will be a generic work. Introduction: I am Hamza, currently enrolled in FAST in undergraduate program, BS (CS). Recently, I took Web Prog More

$250 USD in 6 days
(0 Reviews)
0.0