I am creating a QJsonDocument with several objects based on a ordered list that comes from a CSV, However when I save them to a file those objects do not appear in the same way they where created. I know that for reading a JSON you don't need an order but for non-IT people that would read the JSON they would like to relate to the same order as in the CSV.
Is there a way to save the JSON with an specific order?
Thanks,
Carlos.
Bookmarks