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

Use gson instead of the jackson library for json operations #30

Closed
wants to merge 1 commit into from

Conversation

pfeodrippe
Copy link
Contributor

@pfeodrippe pfeodrippe commented Jan 7, 2021

Fixes #29.

It replaces the jackson dependencies by the gson one so we have
a more compatible license (see issue link above).

It's a very direct conversion, I've even maintained method names like
getArrayNode or getObjectNode, it does not appear to be worth to
change it to follow the implementation classes names.

@pfeodrippe
Copy link
Contributor Author

I'll check later if I need to add the gson license.

@lemmy
Copy link
Member

lemmy commented Jan 7, 2021

TLC includes other licenses such as jline-LICENSE.txt in its jar file. Anyway, the plan is to "graduate" the Json module into TLC. Until then, it should be good enough to replace the Jackson jars with Gson's jar in CommunityModules-deps.jar.

README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
modules/Json.tla Outdated Show resolved Hide resolved
@pfeodrippe
Copy link
Contributor Author

TLC includes other licenses such as jline-LICENSE.txt in its jar file. Anyway, the plan is to "graduate" the Json module into TLC. Until then, it should be good enough to replace the Jackson jars with Gson's jar in CommunityModules-deps.jar.

Thanks o/ I have already replaced everything from Jackson with Gson (including the jars) and now added the Gson license.

It replaces the jackson dependencies by the gson one so we have
a compatible license (see issue link above).

It's a very direct conversion, I've even maintained method names like
`getArrayNode` or `getObjectNode`, it does not appear to be worth to
change it to follow the implementation classes names.
@lemmy
Copy link
Member

lemmy commented Jan 8, 2021

Merged with minor adjustments in 90f3562. Thanks!

@lemmy lemmy closed this Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Refactor JSON module to depend on Gson instead of Jackson
2 participants