Forum Discussion
koryknick
2 years agoEmployee
adam_gataev - couple questions to clarify the requirements as it will affect how this needs to be solved.
- How many levels are possible? If it always maxes out at 3, the solution is a bit simpler - if it is completely arbitrary and could extend into the dozens, then it is a more complicated solution
- Will Branch, Year, and Type always be the key components of your record sets?
Happy Friday! Hopefully we can get you a solution quickly!
adam_gataev
2 years agoNew Contributor II
Hi koryknick,
Thank you for your commenting!
- Unfortunately, MaxLevel is not pre-set nor is there a hard limit. It is simply the maximum value of the Level column from the CSV/SQL table.
- Yes, all fields in the JSON and the SQL table will always be present. The JSON structure, including fields at the root level or deeper levels, will remain consistent. The only variation is the depth of the levels or whether a row contains a deeper level.
I hope this answered your questions. English is not my native language, it could be that I misunderstood the 2nd question.
Happy Friday to you too!
Related Content
- 5 months ago
- 4 years ago
- 3 years ago