how to read json file

How can we read JSON file using C++ Program

1. Utility to read JSON file from file server2. Utility should run at scheduled time letís say 6AM3. Error message if JSON file is not properly formatted4. Error message if Category is missing and ITEM need that Category to be saved.5. Entity mapping as per the given relationship in data model5. Documentation for the API, preferably using any tool6. Junit Test cases using Mockito7. Use either MySQL or Oracle for API development8. add one point as JSON validation for not null and value range
Thanks

I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.

But how to write program code for reading JSON file from file server
then it should also achieve below functions as well:-

Utility should run at scheduled time let’s say 6AM
3. Error message if JSON file is not properly formatted
4. Error message if Category is missing and ITEM need that Category to be saved.
5. Entity mapping as per the given relationship in data model
5. Documentation for the API, preferably using any tool
6. Junit Test cases using Mockito
7. Use either MySQL or Oracle for API development
8. add one point as JSON validation for not null and value range

Your specs imply the use of Java; why are you asking about how to do it using C++?

Tim S.

Originally Posted by bintech21

How can we read JSON file using C++ Program

1. Utility to read JSON file from file server2. Utility should run at scheduled time letís say 6AM3. Error message if JSON file is not properly formatted4. Error message if Category is missing and ITEM need that Category to be saved.5. Entity mapping as per the given relationship in data model5. Documentation for the API, preferably using any tool6. Junit Test cases using Mockito7. Use either MySQL or Oracle for API development8. add one point as JSON validation for not null and value range
Thanks

"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Is he obviously just waiting for some poor, well-intentioned person to do all his thinking for him?

Can you tell he really isn’t interested in having his question answered, so much as getting someone else to do his work?

"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

4. Error message if Category is missing and ITEM need that Category to be saved.

5. Entity mapping as per the given relationship in data model

5. Documentation for the API, preferably using any tool

6. Junit Test cases using Mockito

7. Use either MySQL or Oracle for API development

8. add one point as JSON validation for not null and value range

Validation Points:

Step 1: You have to read the file, If any Error, please correct.

Step 2: IF any category/item Missing, Null Message came or Any notification.

Step 3: Add the category and save the message,

Step 4: if Order not received it 6 AM, then Not file Uploaded Message must show OR repeat the previous order.

Step 5: Must add clock in Programmer.

Someone wants to manage their website. One of
the most important pages on their website is the “Menu” page.The menu gets updated every
night at the restaurant and Joe’s grill wants the updated menu published to their website every
morning. customer will upload their menu in a JSON formatted file (Let’s call it menu.json) to our
ftp server every night.
Requirement is to develop a program to take this menu.json file and store the data
in a relational database. The data model for the database tables is defined as follows.
Data model