I have data that I organized in a JSON-like structure, as shown below:
{
"Id": {
"1": [
{
"Item1": "Item One",
"Item2": "Item Two",
"Item3": "Item Three"
}
],
"2": [
{
"Item1": "Item One",
"Item2": "Item Two",
"Item3": "Item Three"
}
],
"3": [
{
"Item1": "Item One",
"Item2": "Item Two",
"Item3": "Item Three"
}
]
}
}
However, I also have this data stored in separate JSON files for each ID. The data is mostly constant but will be accessed frequently.
I am familiar with how to access the data using both methods mentioned above. My dilemma lies in determining which method would offer better and faster access to the data.