Skip to content

Main#8

Open
u19809 wants to merge 7 commits into
rayokota:masterfrom
u19809:main
Open

Main#8
u19809 wants to merge 7 commits into
rayokota:masterfrom
u19809:main

Conversation

@u19809

@u19809 u19809 commented Jul 9, 2026

Copy link
Copy Markdown

this version implements the following changes

  1. created template based open ended backend which allows for any structured data provider (like QVariant)
  2. Moved nlohmann to this templated version
  3. added support for QJson and QVariant
  4. created templated API so you can use jsonata with multiple json backends at the samen time instead of only one json backend. In fact you can use the template API to convert one json format to another (e.g QJson to nlohmann)

there is one tricky point though : sorted and unsorted json. Nlohmann supports both qjson does not. Luckily the templated API should be able to support both

there are some conflicts with your latest version. Most are due to the fact that to factor out nlohmann I created a jsonata::ordered_map to eliminate the use of nlohmann::ordered_map. So that conflict is easy except for one location with respect to your regex change. I think replacing nlohmann::ordered_map with jsonata::ordered_map is safe but I leave it up to you to give the green light.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant