Question: Can someone please help me parse this JSON string in C . I just need to store the version num and prodid. Having a hard

Can someone please help me parse this JSON string in C. I just need to store the version num and prodid. Having a hard time. I need to use standard c11 or c99, can not include any json libraries.

{\"version\":2,\"prodID\":\"-//hacksw/handcal//NONSGML v1.0//EN\"}

the string needs the \ for quotes to show. Thank you for your help.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!