-
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
Fork: Use Jackson instead of org.json #49
Comments
@DavidBiesack Any chance you could push your Jackson based JSONassert on GitHub? I'd be interested in using a version that doesn't depend on the non-free json.org library. |
@ebourg I'd like the JSONAssert maintainer to answer my question as to how/where the fork should go, here as a PR or branch, or elsewhere. Have not heard anything in 14 months, tho... |
+1 for changing it... |
hi |
See PR #67 Change the implementation for org.json to one with a more open license If that PR is merged, I'll close this issue. |
Sorry for the delay. I've merged #67. I don't plan to support Jackson. |
We have a toolchain based on Jackson; I'd like to use JSONassert with Jackson JSON objects. I've forked the skyscreamer/JSONassert repo and replaced org.json with FasterXML/jackson-core and FasterXML/jackson-databind.
The biggest hurdle is the unit tests; Jackson is more strict and does not allow unquoted object names and unquoted values; but requires double quotes. This requires updating all the unit tests to use quoted names/values such as
instead of
(While Jackson has Feature.ALLOW_UNQUOTED_FIELD_NAMES, it does not have a Feature to allow unquoted values.)
My real question is: is that fork reasonable to push back to skyscreamer/JSONassert, perhaps in a different branch, or would it be better to push the fork elsewhere as a separate project (because current users of skyscreamer/JSONassert may depend on using unquoted strings)? If I do publish a different fork on GitHub, would you prefer I change the package names as well? I would certainly provide attribution to skyscreamer/JSONassert as the base of the fork, and release it under the same Apache 2.0 license.
thanks.
The text was updated successfully, but these errors were encountered: