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

Consider switching to android-json or similar library #56

Closed
syakovyn opened this issue Mar 23, 2017 · 2 comments
Closed

Consider switching to android-json or similar library #56

syakovyn opened this issue Mar 23, 2017 · 2 comments

Comments

@syakovyn
Copy link

Hi,

According to spring-projects/spring-boot#8706, it might be worth considering switching from json to android-json or a similar library for a licensing reason.

Thanks,
Serhiy

@lukas-krecan
Copy link
Owner

Hi, thanks for feedback. Will try to support both versions of json.org

@lukas-krecan
Copy link
Owner

lukas-krecan commented Mar 27, 2017

Unfortunately androidjson library is really old (and crappy) and does not support some of the features I need (like converting a map containing BigDecimals to JsonObject) In other words, it seems that it's not worth the effort to support it (see the commit where I tried aadd3b3) But, as JsonUnit is trying to use a best library it can find, you may try to add another JSON library (like Jackson 2) into your test dependencies and it should be used instead of json.org.

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

No branches or pull requests

2 participants