C++ coding to input from excel and export to .json text file

Job ID: 35274665

Budget: £10 – £20 GBP

Create a solution that extracts the data from the Temperature.csv , Motion.csv and Humidity.csv files (attached) and outputs a .json formatted text file in the format described above. Also attached is a .json output example which is the expected result template. (JavaScript Object Notation)

>Temperature
• Read date, temperature, signal strength and voltage data from Temperature.csv.
• Store in a suitable container(s)
• Output to a correctly structured .json file named sensorData.json.

> Motion Sensor
• Define stored data as a custom structure or object class
• Split date information into separate fields for date and time
• Include motion detection data from Motion.csv. You will need to add an extra field called Sensor_Type for both types of sensor and a boolean field for motion detection instead of temperature for this part.

>Humidity
• Define a base class for a generic sensor containing name, date and voltage.
• Separate each sensor type as a derived class that inherits from the base class
• Include humidity sensor data (from Humidity.csv) as another derived class, include the humidity in %, temperature in °C as fields.
• Convert date and time fields to C++ objects.
Related categories: JavaScript C++ Programming