-
Notifications
You must be signed in to change notification settings - Fork 360
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
Do you really need gson? #307
Comments
Hi Petar, Taking a look at this, unfortunately it seems that GSON's entrenched itself a little bit in the library. A project to add support for multiple dependencies might be laudable, but to be honest, would probably not rank favorably compared to anything else we're working on right now. I'd certainly be interested in getting us over to a standard library JSON package if one ever appeared though! |
@ptahchiev Would shading the Just to make sure, is your issue that:
Thanks! |
My problem is that i'm trying to keep my project as small as possible. Currently I'm using jackson for JSON serialization/deserialization, but now i have two dependencies - gson and jackson. |
Closing this issue due to age and the fact that we're unlikely to get rid of Gson anytime soon. |
Sorry for the bump on an old issue - just tagging this against our new top-level feature request for supporting Jackson. |
Hello I'm building a spring-boot application and I have more than 400 dependencies. Out of those 400 dependencies only stripe is depending on
gson
and spring-boot is smart enough to detect if you have ajackson
dependency orgson
dependency to detect which class to use so it actually works with both. I know it's shit there's no native json parser in Java and there might be one in Java 9 but until that happens do you think you might be able to support bothjackson
andgson
and use it as compile-time dependency only?The text was updated successfully, but these errors were encountered: