I am having some problem understanding how to approach this conversion. My csv file has 4 headers: project name, changes, version, team Lead. However I also have the base paths for each projects within the name header like so:
ex:
overallPorjects,null,null,null
overallPorjects/projectBasepath,null,null,null
overallPorjects/projectBasepath/Project1,null,null,null
overallPorjects/projectBasepath/Project1/Blaze,13,12.5,Nix
overallPorjects/projectBasepath/Project1/Sun,13,12.5,Dan
.... similar for other projects (always ordered)
overallPorjects/project2,12,12.5,Nix
the above is a made up output of my csv file, and now I want to make this in to a json object. where the first base path is encapsulating all the projects underneath it with the relevant info. so overallPorjects has all the children that have overallProject in its name, then each children also have children within them until we reach the final project name.
I know this is confusing and I am also very confused, I am not sure how to go about this. If someone can give me some advice or direction on how to approach this that would be very helpful. Thank you.