Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traits for Qt JSON #367

Open
dantti opened this issue Nov 6, 2024 · 0 comments
Open

Traits for Qt JSON #367

dantti opened this issue Nov 6, 2024 · 0 comments
Labels

Comments

@dantti
Copy link
Contributor

dantti commented Nov 6, 2024

What's your question?

Help with adding traits for Qt JSON types

Additional Context

I've been using JWT-CPP for a long time, prior traits, and using picojson isn't much of a pain, still since I'm alwayd on Qt related code being able to use Qt types simplifies the code, I feel like I managed to get a bit far, tho code does not compile.
It seems my main issues are:

  • QString support, which the current traits always have a comment saying that there is not support for anything different than std::string
  • object_type [] operator, this seems tricky as QJsonValueRef is returned to be able to have a value assigned for QJsonObject and QJsonArray, still the latter doesn't seem to require such operator

My current attempt is at cutelyst/FirebaseAdminQt#2 hopefully you can also see the build issues, would be great if this was possible, and upstreamed here.

Can I get some help?

@dantti dantti added the question label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant