Hi,

I'm using Qt5 to write json objects to a file.
The json structure contains one array with x data elements, like:

{
    "datapointsarray": [
        {
            "datapoint":"1",
            "datapoint":"2",
            ...
        }
     ]
}
Each x seconds, a "datapoint" should be added.

The dilemma I'm in is, how can I tell the json writer to "append" to a
current json file without loading the whole file back in memory (eg
read json from file->edit in Qt->write back to file). Because, after a
while, I suppose the file will get quite large.

Kr

Mathieu
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to