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

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
alibaba avatar

alibaba/fastjson2

0
View on GitHub↗
4,307 stars·572 forks·Java·Apache-2.0·5 vues

Fastjson2

fastjson2 est une bibliothèque Java haute performance utilisée pour sérialiser et désérialiser des objets Java vers et depuis des chaînes JSON et des tableaux d'octets. Elle fonctionne comme un sérialiseur JSON binaire pour encoder des objets dans des formats binaires optimisés afin de réduire la taille des payloads et d'augmenter la vitesse de traitement.

Le projet inclut un moteur de requête JSONPath pour extraire des données et des champs spécifiques de documents JSON en utilisant des expressions de chemin et des filtres standardisés. Il sert également de validateur de schéma JSON, fournissant des utilitaires pour générer des contrats de données et valider les entrées JSON par rapport à des schémas définis afin d'assurer la cohérence structurelle.

La bibliothèque couvre un large éventail de capacités de manipulation de données, incluant la transformation de JSON en maps ou en types d'objets spécifiques, et la conversion de beans Java en formats binaires. Elle offre des mécanismes pour une logique de sérialisation personnalisée, le mapping de champs via des annotations, et la capacité de préserver les types d'objets lors de la conversion.

Features

  • JSON-to-Object Mappers - Transforms JSON strings and byte arrays into specific Java object types using class references.
  • JSON Deserializers - Transforms JSON strings and byte arrays into Java objects or maps for application processing.
  • Binary Deserialization - Reconstructs Java objects from binary data using embedded type information for automatic resolution.
  • Binary JSON Serialization - Converts objects into an optimized binary JSON format (JSONB) to reduce payload size and increase speed.
  • Binary Serialization Formats - Encodes Java objects into optimized binary formats to reduce payload size and increase processing speed.
  • JSONPath Extraction - Implements a JSONPath query engine to extract specific values from documents without full deserialization.
  • High-Performance JSON Encoders - Implements highly optimized encoding processes to convert data structures into JSON with minimal overhead.
  • Class Instance Binary Serializers - Transforms Java objects into UTF-8 byte arrays for efficient caching and RPC communication.
  • JSON Serializers - Converts Java objects into JSON strings or byte arrays for storage and network transmission.
  • JSON Libraries - Provides a high-performance suite of parsing, generation, and object mapping capabilities for JSON in Java.
  • JsonPath Implementations - Implements the JSONPath expression language to extract specific data and fields from JSON documents.
  • Bytecode Generation - Implements high-performance object mapping by generating specialized Java bytecode at runtime to bypass reflection.
  • Compact Binary Object Encoding - Provides optimized conversion of Java objects into minimized binary formats to reduce payload size.
  • Class Instance Binary Serializers - Converts typed class instances to compact binary representations while preserving class information for automatic type resolution.
  • Generic Map Deserialization - Transforms JSON strings into generic map structures for flexible and dynamic data access.
  • Direct Memory Buffers - Utilizes direct memory buffers to write UTF-8 bytes, minimizing object allocation and garbage collection pressure.
  • Object Hierarchy Querying - Evaluates JSONPath expressions against Java object hierarchies to retrieve specific data.
  • Data Type Serialization Configurations - Allows configuration of serialization behavior, including null handling, formatting, and matching logic.
  • Custom Serialization Interfaces - Provides dedicated reader and writer interfaces for implementing custom serialization logic for complex data types.
  • Custom Serializer Implementations - Enables the creation of custom serializers by implementing dedicated reading and writing logic.
  • Custom Field Mapping - Supports customizing field names, date formats, and visibility rules through class annotations.
  • Schema Validators - Provides a JSON schema validator to ensure incoming data conforms to a predefined structural template.
  • Token-Based Streaming Parsers - Implements token-based stream parsing to process JSON documents incrementally and reduce memory usage.
  • Type-to-Schema Generation - Generates standard JSON schema formats directly from Java type definitions to share data contracts.
  • Type Preservation - Maintains full type information during conversion to ensure complex objects are restored exactly as stored.
  • Data Validation Schemas - Checks input JSON data against defined schemas to ensure structural correctness and type safety.
  • JSON Schema Validation - Validates the integrity and presence of required fields in JSON data against a defined schema.

Historique des stars

Graphique de l'historique des stars pour alibaba/fastjson2Graphique de l'historique des stars pour alibaba/fastjson2

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Fastjson2

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Fastjson2.
  • alibaba/handyjsonAvatar de alibaba

    alibaba/handyjson

    4,262Voir sur GitHub↗

    HandyJSON is a Swift JSON serialization library and data mapper. It functions as an object mapper that converts JSON data into typed Swift models and transforms Swift objects back into JSON strings for storage or transmission. The library uses reflection to automatically map JSON keys to object properties and supports custom mapping metadata to resolve naming differences between APIs and code. It provides capabilities for extracting values from deep nested paths within a JSON structure and supports the transformation of complex types such as dates and URLs. The framework handles both the des

    Swift
    Voir sur GitHub↗4,262
  • ibireme/yymodelAvatar de ibireme

    ibireme/YYModel

    4,353Voir sur GitHub↗

    YYModel is a JSON model mapping library and bidirectional data mapper designed to transform raw JSON data into structured model objects and vice versa. It functions as a type-safe JSON parser that employs automatic type coercion to prevent application crashes caused by incompatible data types during the parsing process. The framework uses runtime introspection to map JSON keys to model properties based on naming rules and explicit configurations. It supports the instantiation of nested model objects through recursive traversal of the data hierarchy and provides a consistent translation layer

    Objective-C
    Voir sur GitHub↗4,353
  • neuecc/messagepack-csharpAvatar de neuecc

    neuecc/MessagePack-CSharp

    6,710Voir sur GitHub↗

    MessagePack-CSharp is a high-performance binary serialization library for .NET applications that converts object graphs into the MessagePack format. It functions as a C# data serialization toolkit and a polymorphic binary encoder capable of handling abstract classes and interfaces using union keys to identify concrete derived types. The library provides a binary format transcoder to transform binary data into human-readable JSON for debugging. It supports ahead-of-time formatter generation to avoid runtime overhead and implements LZ4 binary compression to reduce the size of serialized data.

    C#
    Voir sur GitHub↗6,710
  • mailru/easyjsonAvatar de mailru

    mailru/easyjson

    4,892Voir sur 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
    Voir sur GitHub↗4,892
Voir les 30 alternatives à Fastjson2→

Questions fréquentes

Que fait alibaba/fastjson2 ?

fastjson2 est une bibliothèque Java haute performance utilisée pour sérialiser et désérialiser des objets Java vers et depuis des chaînes JSON et des tableaux d'octets. Elle fonctionne comme un sérialiseur JSON binaire pour encoder des objets dans des formats binaires optimisés afin de réduire la taille des payloads et d'augmenter la vitesse de traitement.

Quelles sont les fonctionnalités principales de alibaba/fastjson2 ?

Les fonctionnalités principales de alibaba/fastjson2 sont : JSON-to-Object Mappers, JSON Deserializers, Binary Deserialization, Binary JSON Serialization, Binary Serialization Formats, JSONPath Extraction, High-Performance JSON Encoders, Class Instance Binary Serializers.

Quelles sont les alternatives open-source à alibaba/fastjson2 ?

Les alternatives open-source à alibaba/fastjson2 incluent : alibaba/handyjson — HandyJSON is a Swift JSON serialization library and data mapper. It functions as an object mapper that converts JSON… ibireme/yymodel — YYModel is a JSON model mapping library and bidirectional data mapper designed to transform raw JSON data into… neuecc/messagepack-csharp — MessagePack-CSharp is a high-performance binary serialization library for .NET applications that converts object… mailru/easyjson — easyjson is a high-performance JSON serializer and memory-optimized parser for Go. It provides a reflectionless code… alipay/fury — Fury is a multi-language binary serialization framework designed for encoding domain objects and complex graphs to… stleary/json-java — JSON-java is a Java library for parsing and generating JSON text and mapping it to Java objects and collections. It…