Skip to content

Data structure best-practice: multiple key/values or one big JSON? #320

Closed
@stazrad

Description

@stazrad

You want to:

Are there best practices when it comes to storing app data locally? If possible, I'd prefer to store all of it in one JSON object under a key like AppData or something and just mutate this object and store it.

Details:

Is this an acceptable practice or should it be a series of individual key/values? Is there a max length allowed for the strings that can be stored under a single key? Will this be throttled at scale? I'd appreciate the insight form anyone who has tried this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionGeneral question about usage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions