Whats the fastest JSON unmarshaling package as of right now?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • easyjson

    Fast JSON serializer for golang.

    If you know the schema of the JSON ahead of time and you need to parse the whole object, I would recommend https://github.com/mailru/easyjson as that will likely give you the fastest result. This works in almost all use cases, and easy to use features such as string interning can save you a lot of time on memory allocation if you parse a lot of JSON objects with identical values.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • jsonparser

    One of the fastest alternative JSON parser for Go that does not require schema

    If you don't know the schema or you only need to access one or two fields in a much larger JSON object, I would recommend https://github.com/buger/jsonparser as it provides an easy API to access specific values without fully unmarshaling. This is an unusual use case though, 9 times out of 10 I would tend to use easyjson.

  • go-json

    Fast JSON encoder/decoder compatible with encoding/json for Go

  • simdjson-go

    Golang port of simdjson: parsing gigabytes of JSON per second

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Wasm difficulties in Rust, Haskell, and Go

    9 projects | dev.to | 30 Nov 2022
  • What's the best way to unmarshall this nested JSON?

    3 projects | /r/golang | 29 Jun 2023
  • Object-oriented JSON in Go

    2 projects | /r/golang | 12 Apr 2023
  • Best approach for a monolithic web app?

    2 projects | /r/golang | 9 Apr 2023
  • High-performance JSON parsing in Go

    4 projects | /r/golang | 8 Mar 2023

Did you konow that Go is
the 4th most popular programming language
based on number of metions?