I currently am storing raw JSON in a table as I cannot figure out how to create a table structure for the data I am using. The JSON example I have is:
{
"type": "HEADER",
"value": "Welcome"
},
{
"type": "LIST",
"children": [
{
"type": "ITEM",
"value": "My item!",
"description": "Item description"
}
]
},
The issue I have is that the objects can be nested, for example inside the object LIST
, you can have more LIST
, ITEM
, or HEADER
.
I would appreciate some suggestions on how this would translate to a relational database.