awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
goccy avatar

goccy/go-json

0
View on GitHub↗
3,687 stars·196 forks·Go·MIT·19 views

Go Json

go-json is a high-performance JSON serialization library for Go that serves as an encoder and decoder replacement for the standard library. It provides tools to convert native data structures to and from JSON format with optimized processing speeds.

The library includes a conditional serializer for filtering specific data structure fields during the encoding process and a colorizer to produce color-coded JSON strings for human readability.

The project supports context-aware marshaling to trigger specific logic during the serialization of complex data types.

Features

  • High-Performance JSON Encoders - Provides a high-performance JSON encoding implementation as a replacement for the standard library.
  • Go JSON Libraries - Implements a high-performance JSON library for Go that maintains compatibility with the standard encoding package.
  • Conditional Serializers - Provides a conditional serializer for filtering specific data structure fields during the JSON encoding process.
  • JIT-Accelerated Encoders - Uses JIT-style encoding to generate and cache optimized paths, bypassing repetitive reflection lookups.
  • Token-Based Stream Parsing - Processes JSON input as a continuous token stream to minimize memory consumption for large payloads.
  • Serialization Field Filtering - Controls which specific fields of a data structure are included or excluded during serialization.
  • Field Filtering - Allows including or excluding specific fields of a data structure during serialization to shape the output.
  • Reflection-Based Data Mapping - Employs reflection-based data mapping to determine the memory layout of Go structs for JSON encoding.
  • Pooled Buffer Management - Implements pooled buffer management to reduce garbage collection overhead during high-frequency JSON serialization.
  • Zero-Allocation Buffer Encoders - Writes encoded JSON bytes directly into pre-allocated buffers to avoid intermediate string allocations.
  • JSON Processing - Fast JSON library.

Star history

Star history chart for goccy/go-jsonStar history chart for goccy/go-json

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Go Json

Similar open-source projects, ranked by how many features they share with Go Json.
  • mailru/easyjsonmailru avatar

    mailru/easyjson

    4,892View on GitHub↗

    easyjson is a high-performance JSON serializer and memory-optimized parser for Go. It provides a reflectionless code generator that creates static Go methods for marshaling and unmarshaling data, eliminating the need for runtime reflection to improve execution speed. The library reduces CPU and memory overhead through several optimization strategies. It employs a system of reusable memory buffer pools to minimize heap allocations and garbage collection pressure. Additionally, it utilizes string interning to deduplicate repeated values and zero-copy string referencing to point to existing buff

    Gocode-generationgolangjson
    View on GitHub↗4,892
  • json-iterator/gojson-iterator avatar

    json-iterator/go

    13,891View on GitHub↗

    This project is a high-performance JSON library for Go, serving as a replacement for the standard encoding/json package. It provides a serialization engine for encoding and decoding data structures, alongside a schemaless parser for extracting specific values from JSON blobs using paths. The library distinguishes itself through a focus on reducing CPU and memory overhead. It implements a high-performance encoder that utilizes buffer reuse and reduced float precision to increase data throughput. Broad capability areas include data serialization, high-performance JSON processing, and schema-le

    Godeserializationgogolang
    View on GitHub↗13,891
  • bytedance/sonicbytedance avatar

    bytedance/sonic

    9,492View on GitHub↗

    Sonic is a high-performance Go JSON serialization library that provides tools for encoding and decoding native data structures. It functions as a JIT-accelerated encoder, a JSON AST parser, a stream processor, and a lazy decoder. The project utilizes just-in-time machine code generation to optimize the encoding of large data schemas and employs a JIT assembler to maximize serialization and deserialization speeds. It features a precompiled schema warmup process to prevent latency spikes during initial execution and leverages SIMD hardware instructions for accelerated parsing. The library cove

    Gohigh-performancejitjson
    View on GitHub↗9,492
  • fasterxml/jacksonFasterXML avatar

    FasterXML/jackson

    9,740View on GitHub↗

    Jackson is a Java data binding framework and multi-format data serializer used to translate data structures into native language objects. It functions as a JSON data binding library and a streaming parser that reads and writes data as discrete tokens to process large datasets with minimal memory. The project distinguishes itself through a bytecode serialization accelerator that replaces standard reflection with generated bytecode to increase data binding speed. It employs a module-based extensibility model to support a wide range of formats beyond JSON, including XML, YAML, CSV, TOML, and bin

    hacktoberfestjacksonjava-json
    View on GitHub↗9,740
See all 30 alternatives to Go Json→

Frequently asked questions

What does goccy/go-json do?

go-json is a high-performance JSON serialization library for Go that serves as an encoder and decoder replacement for the standard library. It provides tools to convert native data structures to and from JSON format with optimized processing speeds.

What are the main features of goccy/go-json?

The main features of goccy/go-json are: High-Performance JSON Encoders, Go JSON Libraries, Conditional Serializers, JIT-Accelerated Encoders, Token-Based Stream Parsing, Serialization Field Filtering, Field Filtering, Reflection-Based Data Mapping.

What are some open-source alternatives to goccy/go-json?

Open-source alternatives to goccy/go-json include: mailru/easyjson — easyjson is a high-performance JSON serializer and memory-optimized parser for Go. It provides a reflectionless code… json-iterator/go — This project is a high-performance JSON library for Go, serving as a replacement for the standard encoding/json… fasterxml/jackson — Jackson is a Java data binding framework and multi-format data serializer used to translate data structures into… bytedance/sonic — Sonic is a high-performance Go JSON serialization library that provides tools for encoding and decoding native data… square/moshi — Moshi is a JSON serialization library and parser for Kotlin and Java. It functions as a reflectionless JSON encoder… protobufjs/protobuf.js — protobuf.js is a JavaScript and TypeScript library for encoding and decoding structured data using the Protocol…

Curated searches featuring Go Json

Hand-picked collections where Go Json appears.
  • High Performance JSON Parsing Libraries