Important: Please read the Qt Code of Conduct -

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

  • 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.

  • Moderators

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

  • Thank you, I've completed the work now.

Log in to reply