-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Support for jsoncpp #291
Comments
jsoncpp isn't directly supported in the way that we ship a trait for it, however if it has an api similar to most other JSON libraries out there you should be able to adopt one of the traits in the traits folder pretty easily and then use it instead of the default traits. If you do consider contributing it back by doing a pr (or simply post it under this issue) and we will add it to the official release eventually. If thats not an option for whatever reason you can use the default picojson library for jwt and jsoncpp for the rest, they shouldn't collide and picojson is fairly light. |
Due to my unfamiliarity with the jsoncpp library and the fact that its APIs are somewhat different, some types do not exist in jsoncpp library, or the type names are different. So I took your suggestion and used the default picojson library. Thank you very much for your answer. This issue has been resolved. |
Glad you are unblocked. I'll leave this open in case other want it too they can chime in and hopefully contribute 🤞 |
I just made a pull request with these traits. |
What's your question?
Can we use the jsoncpp library?
Additional Context
I would like to introduce the jwt cpp library into my project and use the jsoncpp library that is already in use in my local project. Is this okay?
The text was updated successfully, but these errors were encountered: