-
Notifications
You must be signed in to change notification settings - Fork 197
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
Is there any reason why lib depends on android-json? #99
Comments
JsonUnit seems to offer more functionality and nicer integration with AssertJ, and it doesn't suffer from dependency issue[1] JSONassert does. It is also currently maintained whereas JSONassert doesn't appear to be so. [1] skyscreamer/JSONassert#99
JsonUnit provides nicer integration with AssertJ, doesn't have the dependency issue[1] JSONAssert has, is maintained (JSONAssert doesn't seem to be) and generates much nicer failure messages: ``` Different value found in node "spreadsheetId", expected: <"6364c6b9-ea7f-4caf-916b-3baeb6622c24x"> but was: <"6364c6b9-ea7f-4caf-916b-3baeb6622c24">. ``` or ``` Different keys found in node "", extra: "ID","SerialNumbers","Specification", expected: <{"Description":"New Monitor with Resolution 1920 x 1080 @ 60Hz","Name":"NEC Screen"}> but was: <{"Description":"New Monitor with Resolution 1920 x 1080 @ 60Hz","ID":4,"Name":"NEC Screen","SerialNumbers":[],"Specification":""}> ``` [1] skyscreamer/JSONassert#99
org.json has now been moved to public domain. might be time to switch back |
This really threw me for a loop. |
Looks like replacing it with com.github.openjson/openjson is even better, due to licensing issues https://stackoverflow.com/a/60952911/2748570 |
Hi,
Thanks a lot for your library. I have following question:
Library has dependency:
com.vaadin.external.google
android-json
0.0.20131108.vaadin1
Thanks
The text was updated successfully, but these errors were encountered: