i have other code written to call an API and need a function written that will parse out json and call another function with the json data as parameters.
input string example:
{"commands":5,"data":[{"id":2,"code":6,"cid":3,"data":100},{"id":3,"code":5,"cid":3,"data":0},{"id":4,"code":6,"cid":4,"data":0},{"id":5,"code":6,"cid":4,"data":0},{"id":6,"code":6,"cid":5,"data":0}]}
your function will iterate through each data and call another function which i've written: runCommand(int id, int code, int cid, int data). for example with the above sample string it will call runCommand(2,6,3,100) - wait for the function to end - then call runCommand(3,5,3,0), and so on.
also account for the possibility of no data, string example:
{"commands":0,"data":[]}
Hello, I'm programmer. I can help you to parse the string and call your function. Feel free to reach me via chat. I can provide you sample / demo if you need it. Thank you.
$20 CAD in 1 day
5.0 (2 reviews)
1.0
1.0
6 freelancers are bidding on average $23 CAD for this job
Hi, sir!
I am good at c++ and I have also rich experience of json parsing.
Please check my profiles and reviews.
Feel free to contact me.
Best regards.
Hello sir, I am programmer in embedded system. as per your description i can parse json and iterate to user defined function
Ping me for more
Thank you
I have good experience on C programming. I can create in C a json parser to receive data from string and execute your commands. I also have good experience on Arduino.
Dear client.
I hope you have good health and your work doing well.
As a C++ expert, I have rich experience of 10+ years.
I am very familiar with Arduino and JSON.
Fast delivery, High quality, Nice looking code.
Please contact me.
I can parse the JSON string and make the code that calls your function.
Looking forward to your reply.
Thank you. Regards.
Rina.
Dear Client,
I have read your function description. I have done the same task as parsing JSON Data in order to further function call for my current company.
I have extensive experience with C++ and I am confident I can complete your function quickly and without hassle.
Please chat with me to discuss the function before awarding it.
It will be my great pleasure to work on your C++ Arduino function to parse JSON.
.
Best regards
Mehul Amipara