... | ... | @@ -28,7 +28,7 @@ A corresponding JSON output could be as follows. |
|
|
|
|
|
## CSV to JSON Scheme
|
|
|
1. First determine the number of fields for each record and their field names. Represent as a C++
|
|
|
std::vector<std::string> FieldNames such that the size of the vector is the number of fields.
|
|
|
string vector FieldNames such that the size of the vector is the number of fields.
|
|
|
The list of fields could be taken from the first line of the file or supplied as a program parameter.
|
|
|
Example: Family Name,Given Name,email
|
|
|
|
... | ... | |