-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Could GSON be optional? / Jackson support? #2961
Labels
dependencies
Pull request that updates a dependency
Comments
sebdehne
changed the title
Could GSON be optional?
Could GSON be optional? / Jackson support?
Mar 29, 2022
@sebdehne You're always welcome to craft a PR. |
@sebdehne Sorry about slow progress on this. WDYT about replacing Gson completely with Jackson? |
agavrilov76
added a commit
to agavrilov76/jedis
that referenced
this issue
Dec 16, 2022
Move creation of the JSON command builders to a separate class which is initialized only when any of the JSON methods are being used. This allows org.json transitive Maven dependency to be excluded for the applications which don't use JSON methods. See redis#2961 and redis#2962 for more information and rationale. Similar to redis#3223
sazzad16
pushed a commit
that referenced
this issue
Jan 11, 2023
Move creation of the JSON command builders to a separate class which is initialized only when any of the JSON methods are being used. This allows org.json transitive Maven dependency to be excluded for the applications which don't use JSON methods. See #2961 and #2962 for more information and rationale. Similar to #3223
sazzad16
added
dependencies
Pull request that updates a dependency
and removed
enhancement
labels
May 19, 2023
Thanks to #3223, GSON can now be excluded. Keeping this issue open as the dependency is not exactly |
This issue is marked stale. It will be closed in 30 days if it is not updated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I really appreciate the good work which has good into this excellent library, but does Jedis really need GSON for JSON-support?
For example there is a security issue with GSON (google/gson#1991) which now becomes everybodies problem who uses Jedis.
Would it be possible to at least make GSON optional such that Jedis still works even without GSON on the classpath? Or support both Jackson and GSON (which ever is found on the classpath) if one really needs the JSON capabilities?
Thanks a lot. If you need help - I can submit a change which makes gson optional.
The text was updated successfully, but these errors were encountered: