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. Is there already a way to convert between QDom classes and QJson classes?
Qt 6.11 is out! See what's new in the release blog

Is there already a way to convert between QDom classes and QJson classes?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 244 Views 2 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    I'm written an application that converts an XML document into a JSON object. It works great, but now I want to add additional functionality to it, I've written some code that translates between the various QDom classes and the QJson classes.

    I don't want to re-invent the wheel or find out later that this has already been provided within Qt, although I haven't found anything.

    Kind Regards,
    Sy

    1 Reply Last reply
    0
    • kkoehneK Offline
      kkoehneK Offline
      kkoehne
      Moderators
      wrote on last edited by
      #2

      I don't think there's anything in Qt that automatically does this conversion for you.

      Director R&D, The Qt Company

      1 Reply Last reply
      3
      • SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by
        #3

        Thank you, I've completed the work now.

        Kind Regards,
        Sy

        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