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

Migrate to Kotlin Multiplatform and kotlinx.serialization #31

Closed
wants to merge 2 commits into from

Conversation

DSinge
Copy link

@DSinge DSinge commented Nov 10, 2022

Hi, I work with @eygraber and this fixes #7. Sorry for the size of the changeset; a lot had to happen at the same time to get it working.

The only breaking change here should be using kotlinx.serialization instead of Jackson; the API shouldn't change other than that. We think the API can be improved by just using extension functions but that's a conversation for another day.

In the tests, we removed some of the tests that were testing Jackson specific behavior.

This is the initial port plus changes to gradle for KMP. Future plans are:

  • make an abstraction around the JSON so that any JSON library can be used
  • update some dependencies that currently have issues
  • enable native KMP targets
  • add static analysis tools to the project

We'll be using our own fork for now so there's pressure to get this merged.

@bestMechanic
Copy link

Any reason why this is not merged?

@eygraber
Copy link
Contributor

We we're going to maintain a fork but our internal requirements changed and we delayed our need for the library.

I'll try to schedule some free time to get that fork published to Maven Central.

@eygraber
Copy link
Contributor

eygraber commented Sep 6, 2023

@codeniko any opposition to me making a new repo and artifact from this (I'd keep you in the copyright notice), or would you prefer this gets merged here?

@eygraber
Copy link
Contributor

@bestMechanic we're going to maintain our own fork separately for now at https://github.com/eygraber/JsonPathKt

There's currently a snapshot at com.eygraber:jsonpathkt:2.0.1-SNAPSHOT (at the new maven central snapshot location).

@DSinge DSinge closed this Sep 11, 2023
@eygraber eygraber deleted the kmp branch September 11, 2023 16:53
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

Successfully merging this pull request may close these issues.

Have you considered using kotlinx.serialization?
3 participants