Fast JSON encoder/decoder compatible with encoding/json for Go (by goccy)

Go-json Alternatives

Similar projects and alternatives to go-json based on common topics and language
  • GitHub repo compare-go-json

    A comparison of several go JSON packages.

  • GitHub repo simdjson

    Parsing gigabytes of JSON per second

  • GitHub repo ojg

    Optimized JSON for Go

  • GitHub repo frontmatter

    Go library for detecting and decoding various content front matter formats

  • GitHub repo go-formatter

    A curated list of awesome Go frameworks, libraries and software

  • GitHub repo cobra

    A Commander for modern Go CLI interactions

  • GitHub repo urfave/cli

    A simple, fast, and fun package for building command line apps in Go (by urfave)

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better go-json alternative or higher similarity.


Posts where go-json has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-02-08.
  • Fast JSON encoder/decoder compatible with encoding/json for Go
    reddit.com/r/golang | 2021-02-09
  • goccy/go-json: A super fast JSON library fully compatible with encoding/json
    reddit.com/r/golang | 2021-02-08
    Found some bugs: https://github.com/goccy/go-json/issues/116. You're welcome. Lib looks interesting, once you fix the bugs I'm willing to try it on a rather big project.
    reddit.com/r/golang | 2021-02-08
    I wrote about speeding up techniques, so please read it if you like. https://github.com/goccy/go-json#how-it-works
    reddit.com/r/golang | 2021-02-08
    Oh, Thank you for the reporting ! I saw this issue, and I will try to fix it ! Could you please register the issue to https://github.com/goccy/go-json/issues ?
    reddit.com/r/golang | 2021-02-08
    Sure, https://github.com/goccy/go-json/issues/119.
    reddit.com/r/golang | 2021-02-08
    You can see the benchmark results with memory usage by running `go test -bench` as written in the https://github.com/goccy/go-json#benchmarks . In many cases, go-json processes with fewer allocations than other libraries .
  • A super fast JSON library for Go
    news.ycombinator.com | 2021-02-08
    Hi mate,

    very interesting library. Keep it up.

    Improvement suggestion: While reading the README, the JSON library comparison [1] it's confusing, at least to me. It uses symbols like: ○, and △ which are not obvious. I would rather use "yes/no" or the classic "/" if you want to use symbols. I don't know what "△" even means, so I cannot suggest an alternative.

    Just my 2 cents.

    [1]: https://github.com/goccy/go-json#json-library-comparison

    news.ycombinator.com | 2021-02-08
    I find the circles, crosses and triangles on https://github.com/goccy/go-json#json-library-comparison hard to comprehend. I guess that circle means "yes", cross is "no" and triangle is "partial" or something. However that is really just based on context. (I guessed the symbols from what I thought the data should be)

    I would suggest using words like "yes", "no" and "partial". They are short and clear. If you really want to do symbols I recommend using for yes, and still spelling out whatever triangle is supposed to mean.

    news.ycombinator.com | 2021-02-08


Basic go-json repo stats
7 days ago

goccy/go-json is an open source project licensed under MIT License which is an OSI approved license.