sonic VS fastjson

Compare sonic vs fastjson and see what are their differences.

sonic

A blazingly fast JSON serializing & deserializing library (by bytedance)

fastjson

Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection (by valyala)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
sonic fastjson
23 18
6,277 2,162
3.1% -
8.1 0.0
8 days ago 2 months ago
Assembly Go
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

sonic

Posts with mentions or reviews of sonic. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-21.

fastjson

Posts with mentions or reviews of fastjson. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-29.

What are some alternatives?

When comparing sonic and fastjson you can also consider the following projects:

jsoniter - Using encoding/json to load parts of a large json document

easyjson - Fast JSON serializer for golang.

encoding - Go package containing implementations of efficient encoding, decoding, and validation APIs.

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

simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks

mapslice-json - Go MapSlice for ordered marshal/ unmarshal of maps in JSON

simdjson-go - Golang port of simdjson: parsing gigabytes of JSON per second

jsonic - All you need with JSON

json-iterator - Low level iterator on the records inside large JSON file.

go-parameters - :blue_book: Easily parse incoming parameters and values from an HTTP request

hashmap - A Golang lock-free thread-safe HashMap optimized for fastest read access.

jsondiff - Compute the diff between two JSON documents as a series of RFC6902 (JSON Patch) operations