ralfstx / minimal-json

A fast and small JSON parser and writer for Java
MIT License
732 stars 186 forks source link

Performance comparison to JsonParse #75

Open mitchhentges opened 7 years ago

mitchhentges commented 7 years ago

minimal-json is super interesting, and if I knew about it earlier, I probably wouldn't have tried to make my own minimal parser. However, JsonParse and JsonCompose now exist.

I've compared JsonParse to Jackson, and it outperforms it according to my tests. Can you add JsonParse to the list of libraries that you compare minimal-json to?

mitchhentges commented 7 years ago

I'm working on building my own pull request, but it looks like there's some maven issues:

  1. A certificate issue with maven: (https://repo.maven.apache.org/maven2): hostname in certificate didn't match: <repo.maven.apache.org> != <repo1.maven.org> OR <repo1.maven.org>
  2. minimal-json doesn't exist for ${project.version}
<dependency>
      <groupId>com.eclipsesource.minimal-json</groupId>
      <artifactId>minimal-json</artifactId>
      <version>${project.version}</version>
    </dependency>

I just hard-coded 0.9.4 in, but that probably shouldn't be PR'd in

mitchhentges commented 7 years ago

Hmm, perhaps I imported the incorrect level of project before. Loading in the top-level pom.xml is working like a charm.