What's a good way to save a custom inventory?

The gist of what I have right now:
Don’t really know the specific classification for it, but the custom inventory I’m running is essentially that of slots (Minecraft, Terraria, etc) You get the idea…

Example →
[S1] [S2] [S3] [S4]
[S5] [S6] [S7] [S8]
[S9] [S10] [S11] [S12]

Each item in the slot has identity values and stat values that make up your traditional item.

What I’ve done to store this custom data:
Essentially using a json or xml converter & packager sorta concept here. It’s a decoding and packaging module and datastore server script set up that converts the player’s physical inventory folders that contains the slots into dictionaries, and the item files inside slots into sub-dictionaries (for lack of a better term), and sends the main dictionary containing them all into the datastore.
I can’t share the code right this moment because I’m busy and it’s late

Closing
I want to know if there are better ways to go about saving this type of inventory to the datastore, or if this is the optimal method. If anyone has any advice or references to related discussions that would be greatly appreicated!

With the amount of data you are storing, this approach is fine.

1 Like

You could label them like a spreadsheet is labelled.