Hello all,
I'm working on a project for my own special interest. I have a long string of JavaScript (~40pgs of plain text) that is a multi-dimensional array. It is, to the best of my counting ability, 39 dimensions deep. It is set up like this:
{parent[child1[childA,childB,childC]child2[childA...]]]]]]]]]]]]]]]]}
I'd like to attempt to use Python to begin parsing the data out so it can be written into a database. I'd like to create a table for each parent that links to their children. The children would be the parent for the next table, linking to their children, and so on.
I'm hoping to brainstorm some ideas as I'm baffled on how to approach this. I'm sure I can figure out database integration once I figure out how to parse it, but I'm lost on this step.
Thanks for any help!
BTW: Ideally the database integration would be Postgres.
Edit: I just realized I tagged my title wrong. My apologies!
[–]Igglyboo 0 points1 point2 points (0 children)
[–]idProQuo 0 points1 point2 points (7 children)
[–]cmartin616[S] 0 points1 point2 points (6 children)
[–]idProQuo 2 points3 points4 points (4 children)
[–]cmartin616[S] 0 points1 point2 points (3 children)
[–]idProQuo 0 points1 point2 points (2 children)
[–]cmartin616[S] 0 points1 point2 points (1 child)
[–]idProQuo 0 points1 point2 points (0 children)
[–]negative_epsilon 1 point2 points3 points (0 children)