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·32 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.

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
  • 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 are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

    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.

    Which projects share features with goccy/go-json?

    Projects with overlapping indexed features 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…

    Projects sharing features with Go Json

    These projects share indexed features with Go Json. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
    • mailru/easyjsonmailru avatar

      mailru/easyjson

      4,919View 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,919
    • 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,653View 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,653
    • fasterxml/jacksonFasterXML avatar

      FasterXML/jackson

      9,837View 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,837
    Compare all 30 related projects→

    Curated searches featuring Go Json

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