• ulterno@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    21 hours ago

    As long as it is something I want to be loading all at once, I would go with JSON and use the JSON binary format provided by QJsonDocument and forget about it.
    But if I expect it to get bigger and need stuff partially loaded, things get lengthier.
    Stream Reading libraries (e.g. the XML one in Qt) makes it much longer to write and that’s where I would consider whether to use a database instead.