Hello! I have unorganized text file with many lines. I should this text file turn to json file.
Text file example:
value value
value value value value
value value valu value value
.... (and so on)
After converting above text file to json will be:
{ “row1”: {
“value1”:value
“value2”:value
}
“row2”: {
“value1”:value
“value2”:value
“value3”:value
“value4”:value
}
“row3”: {
“value1”:value
“value2”:value
“value3”:value
“value4”:value
“value5”:value
}
first I have to create a dynamic struct, then convert to json, please help