fastjson VS oapi-codegen

Compare fastjson vs oapi-codegen and see what are their differences.

fastjson

Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection (by valyala)

oapi-codegen

Generate Go client and server boilerplate from OpenAPI 3 specifications (by deepmap)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
fastjson oapi-codegen
18 64
2,162 5,178
- 4.9%
0.0 9.1
2 months ago 8 days ago
Go Go
MIT License Apache License 2.0
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.

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.

oapi-codegen

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

What are some alternatives?

When comparing fastjson and oapi-codegen you can also consider the following projects:

easyjson - Fast JSON serializer for golang.

openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

sonic - A blazingly fast JSON serializing & deserializing library

GoSwagger - Swagger 2.0 implementation for go

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

ogen - OpenAPI v3 code generator for go

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

kin-openapi - OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)

jsonic - All you need with JSON

go-oas3 - Open API v3 server code generator

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

autorest - OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python