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

ijl/orjson

0
View on GitHub↗
8,110 stars·308 forks·Python·Apache-2.0·25 views

Orjson

orjson is a high-performance Python library for serializing and deserializing JSON data. It functions as both a JSON parsing library and a serialization engine, converting data between native Python objects and UTF-8 encoded bytes.

The project provides specialized support for converting complex Python data structures, including dataclasses, datetime objects, and NumPy arrays and scalars, into JSON format. It also allows for the insertion of pre-serialized JSON blobs into documents to maintain processing speed.

The library includes capabilities for memory-efficient deserialization through key caching and the conversion of large datasets with minimal latency. These features support high-throughput data interchange and scientific computing pipelines.

Features

  • High-Performance Parsers - Provides a high-performance JSON parser optimized for extreme throughput and minimal latency.
  • JSON Converters - Provides high-performance conversion of JSON strings and bytes into native Python objects.
  • JSON Serializers - Functions as a fast serialization engine for Python objects, dataclasses, and NumPy arrays.
  • JSON Parsers - Provides a memory-efficient library for parsing JSON strings into Python dictionaries and lists.
  • JSON Serialization Libraries - Converts native Python data objects and complex types into formatted JSON strings.
  • Rust - Provides a high-performance serialization engine implemented in Rust.
  • Message Encoders and Decoders - Enables rapid encoding and decoding of JSON for high-throughput network services.
  • Complex Data Serialization - Supports serialization of non-primitive Python types, such as dataclasses and datetime objects.
  • Key Caching - Reduces memory allocations during object creation by caching frequently encountered JSON keys.
  • Memory-Efficient Parsing - Minimizes memory overhead during JSON deserialization through specialized key caching techniques.
  • Python Dataclass Serialization - Converts complex Python dataclasses and datetime objects into JSON for API responses.
  • Runtime Type Dispatching - Uses specialized runtime dispatch logic to optimize serialization for NumPy arrays and Python dataclasses.
  • JSON Export - Exports numeric arrays and scalars to JSON for scientific computing and data science pipelines.
  • JSON Serialization - Converts NumPy arrays and scalars into JSON format without requiring the array library.
  • Zero-Copy Buffers - Shares memory buffers between Rust and Python to minimize data duplication during parsing.
  • Data Serialization - Fast JSON library for Python.
  • Data Serialization - Fast, correct JSON library with support for dataclasses and datetimes.

Star history

Star history chart for ijl/orjsonStar history chart for ijl/orjson

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.

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

Frequently asked questions

What does ijl/orjson do?

orjson is a high-performance Python library for serializing and deserializing JSON data. It functions as both a JSON parsing library and a serialization engine, converting data between native Python objects and UTF-8 encoded bytes.

What are the main features of ijl/orjson?

The main features of ijl/orjson are: High-Performance Parsers, JSON Converters, JSON Serializers, JSON Parsers, JSON Serialization Libraries, Rust, Message Encoders and Decoders, Complex Data Serialization.

Which projects share features with ijl/orjson?

Projects with overlapping indexed features include: serde-rs/json — This is a Rust serialization library for converting data structures to and from JSON strings and byte streams. It is… square/moshi — Moshi is a JSON serialization library and parser for Kotlin and Java. It functions as a reflectionless JSON encoder… ibireme/yyjson — yyjson is a high-performance C library for parsing, serializing, and manipulating JSON data structures. It functions… alibaba/fastjson — Fastjson is a Java data binding framework and serialization library designed to convert objects to JSON strings and… simdjson/simdjson — simdjson is a high-performance, header-only C++ library designed for parsing, querying, and serializing JSON data with… tencent/rapidjson — RapidJSON is a header-only C++ library designed for high-performance parsing, generation, and manipulation of JSON…

Projects sharing features with Orjson

These projects share indexed features with Orjson. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • serde-rs/jsonserde-rs avatar

    serde-rs/json

    5,587View on GitHub↗

    This is a Rust serialization library for converting data structures to and from JSON strings and byte streams. It is built as a framework within the Serde ecosystem, providing both a strongly typed parser for compile-time safety and a recursive value tree for manipulating JSON data without a predefined schema. The project supports both typed and untyped processing. It can map JSON data into specific Rust types for schema conformity or parse input into a flexible, schemaless representation. It also includes macro-based utilities for the dynamic construction of JSON objects.

    Rustjsonrustserde
    View on GitHub↗5,587
  • square/moshisquare avatar

    square/moshi

    10,138View on GitHub↗

    Moshi is a JSON serialization library and parser for Kotlin and Java. It functions as a reflectionless JSON encoder that converts typed objects to JSON strings and parses JSON data back into language objects. The library distinguishes itself through compile-time adapter generation, which removes the performance overhead associated with runtime reflection. It also provides a polymorphic JSON mapper that uses type identifiers to resolve and instantiate specific subclasses of a common base type. The framework supports custom adapter definitions for specialized type conversion, including nullabi

    Kotlin
    View on GitHub↗10,138
  • ibireme/yyjsonibireme avatar

    ibireme/yyjson

    3,788View on GitHub↗

    yyjson is a high-performance C library for parsing, serializing, and manipulating JSON data structures. It functions as a memory-efficient data tool that utilizes custom memory pools and contiguous block allocation to minimize fragmentation and overhead. The project distinguishes itself as a SIMD JSON processor, using hardware-accelerated vector instructions for rapid string validation and parsing. It provides a toolkit for querying, modifying, and patching nested JSON objects and arrays through pointer-based access and path expressions. The library covers a broad range of data manipulation

    C
    View on GitHub↗3,788
  • 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
Compare all 30 related projects→