Issue at hand: I am in need of displaying and potentially changing JSON data. My goal is to present it in a directory tree format. The structure of the object is unknown, it could be something like this:
"buttons": {
"login": "LOGIN",
"register": "REGISTER",
"next": "Next",
},
"nav": {
"account": "Acount",
"login": "Login"
},
On the other hand, it might also look like this:
"register": {
"user": "User",
"email": "E-mail",
"language": {
"en": "English",
"de": "German",
"es": "Spanish",
}
},
"blog": {
"search": "SEARCH",
"comments": "COMMENTS"
},
The issue lies with the unpredictability of the nested structure. I have already created a parser to convert it into an object, but I am unsure of how to display it on the website.