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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
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.

  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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