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
tidwall avatar

tidwall/gjson

0
View on GitHub↗

Gjson

gjson is a Go JSON parser designed for schema-less reading and value extraction. It allows for the retrieval of specific data from JSON documents using dot-notation paths without requiring the definition of predefined Go structs.

The library provides tools for path-based querying, including the use of wildcards and index-based queries to locate data within objects and arrays. It also functions as a JSON lines processor, treating multi-line documents as arrays to iterate and query individual entries.

Additional capabilities include converting JSON values into native Go types such as strings, floats, booleans, maps, or slices. The toolset also covers JSON syntax validation, array searching with comparison operators, and the ability to reshape or transform JSON data into new structures.

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

Features

  • JSON Path Navigation - Navigates JSON hierarchies by matching dot-notation path segments against keys during the scanning process.
  • Value Extraction - Extracts data directly from the source bytes without requiring predefined Go structs or interface maps.
  • Native Type Converters - Provides on-demand conversion of extracted JSON values into native Go strings, floats, booleans, maps, or slices.
  • JSON - Finds and filters data within JSON arrays and objects using dot notation, wildcards, and comparison operators.
  • JSON Data Parsers - Retrieves specific values from JSON documents in Go using paths without needing to define complex structs.
  • JSON Parsers - Provides a library for extracting values from JSON documents using dot-notation paths without requiring predefined Go structs.
  • Path Extractors - Retrieves specific data from JSON objects and arrays using wildcards and index-based queries.
  • Zero-Copy Deserialization - Returns views into the original byte slice rather than allocating new strings for every extracted value.
  • Zero-Copy Parsers - Scans raw byte slices to locate values without decoding the entire document into memory structures.
  • Map Converters - Allows for the transformation of JSON documents into native Go map structures.
  • Structure Iterators - Provides a mechanism to traverse JSON arrays and objects via user-defined callback functions.
  • JSON - Parses and iterates through multi-line JSON documents to handle large datasets or log files efficiently.
  • Data Type Casting - Converts raw JSON bytes into native Go types only when explicitly requested by the user.
  • JSON Processors - Reshapes or formats JSON data by applying modifiers and combining paths into new structures.
  • JSON - Treats multi-line documents as arrays to iterate and query individual JSON entries.
  • Type Mapping Converters - Transforms JSON values into native Go strings, floats, booleans, maps, or slices.
  • JSON Processing - Fast JSON parsing with a simple API.
15,521 stars·900 forks·Go·MIT·29 views

Star history

Star history chart for tidwall/gjsonStar history chart for tidwall/gjson

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 tidwall/gjson do?

gjson is a Go JSON parser designed for schema-less reading and value extraction. It allows for the retrieval of specific data from JSON documents using dot-notation paths without requiring the definition of predefined Go structs.

What are the main features of tidwall/gjson?

The main features of tidwall/gjson are: JSON Path Navigation, Value Extraction, Native Type Converters, JSON, JSON Data Parsers, JSON Parsers, Path Extractors, Zero-Copy Deserialization.

Which projects share features with tidwall/gjson?

Projects with overlapping indexed features include: bytedance/sonic — Sonic is a high-performance Go JSON serialization library that provides tools for encoding and decoding native data… alibaba/fastjson — Fastjson is a Java data binding framework and serialization library designed to convert objects to JSON strings and… zserge/jsmn — jsmn is a lightweight JSON parser library written in C. It provides zero-copy tokenization and incremental parsing… tencent/rapidjson — RapidJSON is a header-only C++ library designed for high-performance parsing, generation, and manipulation of JSON… simdjson/simdjson — simdjson is a high-performance, header-only C++ library designed for parsing, querying, and serializing JSON data with… prestodb/presto — Presto is a distributed SQL query engine designed for high-performance analytical processing across heterogeneous data…

Projects sharing features with Gjson

These projects share indexed features with Gjson. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • 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
  • alibaba/fastjsonalibaba avatar

    alibaba/fastjson

    25,625View on GitHub↗

    Fastjson is a Java data binding framework and serialization library designed to convert objects to JSON strings and parse JSON data into typed objects. It functions as a JSON parser and stream processor capable of transforming JSON strings into data structures. The project emphasizes high performance JSON processing and memory management, specifically through the use of a pipeline to stream oversized JSON objects and texts to prevent memory exhaustion. It provides capabilities for JSON data serialization and deserialization workflows, including custom JSON data mapping and the ability to def

    Java
    View on GitHub↗25,625
  • zserge/jsmnzserge avatar

    zserge/jsmn

    4,065View on GitHub↗

    jsmn is a lightweight JSON parser library written in C. It provides zero-copy tokenization and incremental parsing designed for use in embedded systems and memory-constrained environments. The library identifies structural JSON elements by providing offsets into the original string rather than allocating new memory for data. It uses a single-pass scanning method and requires static-buffer allocation, meaning the caller provides the memory for tokens to avoid dynamic allocation during the parsing process. The parser supports incremental streaming, allowing it to process JSON data in chunks fr

    Cjson-datajson-stringparsing
    View on GitHub↗4,065
  • tencent/rapidjsonTencent avatar

    Tencent/rapidjson

    15,000View on GitHub↗

    RapidJSON is a header-only C++ library designed for high-performance parsing, generation, and manipulation of JSON data. It functions as a dual-mode engine, providing both an in-memory document object model for tree-based manipulation and a stream-based interface for event-driven processing. The library is built to minimize memory footprint and maximize execution speed, making it suitable for resource-constrained environments. The library distinguishes itself through advanced memory management and optimization techniques, including in-situ parsing that modifies input buffers directly to elimi

    C++
    View on GitHub↗15,000
Compare all 30 related projects→