awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mailru avatar

mailru/easyjson

0
View on GitHub↗
4,892 stele·461 fork-uri·Go·MIT·10 vizualizări

Easyjson

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 buffer segments rather than allocating new strings.

The project covers high-performance JSON processing, static code generation, and advanced memory management to optimize the conversion of data between Go structs and JSON.

Features

  • High-Performance JSON Encoders - Provides an optimized implementation for converting Go data structures into JSON text with minimal overhead.
  • JSON-to-Object Mappers - Provides high-performance mapping of JSON text into strongly typed Go structures.
  • Reflectionless Encoders - Provides a tool that generates static methods to avoid runtime reflection during JSON encoding.
  • JSON Serializers - Provides optimized utilities for transforming Go data structures into formatted JSON strings.
  • Reflectionless Code Generators - Ships a tool for creating custom marshaling and unmarshaling functions to eliminate runtime reflection.
  • Marshaling Code Generators - Generates type-specific marshaling functions at build time to avoid runtime reflection.
  • Memory-Efficient Parsing - Minimizes memory overhead during JSON parsing through string interning and buffer pooling.
  • JSON Serializers - Provides a high-performance library for encoding and decoding JSON data in Go without reflection.
  • JSON Memory Optimizations - Implements a parser that reduces allocations through string interning and reusable memory buffer pools.
  • Reflection-Free Serialization - Implements specialized marshaling methods that bypass runtime type inspection for maximum performance.
  • Reflectionless Serialization - Uses compile-time code generation to avoid runtime reflection overhead during JSON serialization.
  • Zero-Copy Parsing - Extracts data from input buffers by returning slices instead of allocating new memory strings.
  • Buffer-Based Memory Management - Uses raw binary buffers to handle JSON data for high-performance memory efficiency and reduced GC.
  • Constant String Referencing - Optimizes memory by referencing existing buffer segments instead of copying strings for short-lived objects.
  • String Deduplication - Reduces memory consumption by storing only one copy of duplicate strings encountered during parsing.
  • Go Performance Optimization - Improves execution speed and reduces memory allocations for Go applications handling high JSON traffic.
  • Schema-Tailored Unmarshaling - Maps JSON fields to struct members using generated logic tailored to the specific data schema.
  • Reusable Buffer Pools - Utilizes recycled memory buffers to minimize heap allocations and garbage collection pressure.
  • Procesare JSON - Fast JSON serialization.

Istoric stele

Graficul istoricului de stele pentru mailru/easyjsonGraficul istoricului de stele pentru mailru/easyjson

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face mailru/easyjson?

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.

Care sunt principalele funcționalități ale mailru/easyjson?

Principalele funcționalități ale mailru/easyjson sunt: High-Performance JSON Encoders, JSON-to-Object Mappers, Reflectionless Encoders, JSON Serializers, Reflectionless Code Generators, Marshaling Code Generators, Memory-Efficient Parsing, JSON Memory Optimizations.

Care sunt câteva alternative open-source pentru mailru/easyjson?

Alternativele open-source pentru mailru/easyjson includ: ibireme/yyjson — yyjson is a high-performance C library for parsing, serializing, and manipulating JSON data structures. It functions… json-iterator/java — This library is a high-performance JSON processing tool for Java designed to handle data serialization and… square/moshi — Moshi is a JSON serialization library and parser for Kotlin and Java. It functions as a reflectionless JSON encoder… json-iterator/go — This project is a high-performance JSON library for Go, serving as a replacement for the standard encoding/json… tencent/rapidjson — RapidJSON is a header-only C++ library designed for high-performance parsing, generation, and manipulation of JSON… alibaba/fastjson2 — fastjson2 is a high-performance Java library used for serializing and deserializing Java objects to and from JSON…

Alternative open-source pentru Easyjson

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Easyjson.
  • ibireme/yyjsonAvatar ibireme

    ibireme/yyjson

    3,788Vezi pe 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
    Vezi pe GitHub↗3,788
  • json-iterator/javaAvatar json-iterator

    json-iterator/java

    1,566Vezi pe GitHub↗

    This library is a high-performance JSON processing tool for Java designed to handle data serialization and deserialization with minimal resource consumption. It provides a framework for transforming complex object graphs into JSON strings and mapping raw input directly to typed class properties. The library distinguishes itself by utilizing compile-time code generation and reflection-free mapping to eliminate expensive runtime overhead. By employing iterator-based stream parsing and zero-allocation buffer management, it processes large or deeply nested data structures while reducing garbage c

    Javadeserializationjavajson
    Vezi pe GitHub↗1,566
  • square/moshiAvatar square

    square/moshi

    10,138Vezi pe 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
    Vezi pe GitHub↗10,138
  • json-iterator/goAvatar json-iterator

    json-iterator/go

    13,891Vezi pe 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
    Vezi pe GitHub↗13,891
Vezi toate cele 30 alternative pentru Easyjson→