Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. Introducing QJsonVariant – A Fast Qt JSON Parser/Writer for QVariant
Forum Updated to NodeBB v4.3 + New Features

Introducing QJsonVariant – A Fast Qt JSON Parser/Writer for QVariant

Scheduled Pinned Locked Moved Unsolved Showcase
2 Posts 2 Posters 186 Views
  • 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.
  • R Offline
    R Offline
    romain.donze
    wrote last edited by
    #1

    Hi everyone,

    I’m excited to share a new Qt library I’ve developed: QJsonVariant – a fast and lightweight JSON parser/writer designed to work directly with QVariant.

    This library offers a performance-focused alternative to the native QJsonDocument approach. Unlike QJsonDocument::fromJson().toVariant(), which performs two iterations, QJsonVariant completes the parsing in a single pass, providing improved performance especially when working with large JSON data.

    Key Features:

    Directly parses JSON into QVariant and vice versa

    Faster than QJsonDocument thanks to a single-pass implementation

    Simple and easy to integrate into existing Qt projects

    The source code and usage examples are available here: https://github.com/Romain-Donze/QJsonVariant

    I’d love to hear your feedback and suggestions. Feel free to try it out and let me know how it works for your use cases!

    1 Reply Last reply
    0
    • jsulmJ jsulm moved this topic from General and Desktop
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote last edited by
      #2

      Moved to https://forum.qt.io/category/8/showcase

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

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