Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QJsonDocument needs a hybrid format for big arrays.
Forum Updated to NodeBB v4.3 + New Features

QJsonDocument needs a hybrid format for big arrays.

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 757 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • shaveraS Offline
    shaveraS Offline
    shavera
    wrote on last edited by
    #1

    The two basic formats give you either a grossly long document where you can't easily see what the name of the value you're looking at is, or where it'd fall in the overall array... or some compact mess that isn't readable either.

    What is needed is a format that looks like:
    @
    "NameForList": [ a, b, c, d, e],
    "NameForArray": [[ a, b, c, d, e]
    ,[ f, g, h, i, j]
    ,[ k, l, m, n, o]],
    @

    (where of course, these things are neatly aligned in monospace)

    I am going to attempt to add this as patch this locally, I'd be willing to submit it as an open patch to the project more broadly (but I haven't any experience doing that)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You can follow the gerrit introduction wiki entry to know how to submit a patch to Qt

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved