awesome-repositories.com
ब्लॉग
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेसMCP सर्वर
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
square avatar

square/moshi

0
View on GitHub↗
10,138 स्टार्स·804 फोर्क्स·Kotlin·Apache-2.0·8 व्यूज़square.github.io/moshi/1.x↗

Moshi

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 nullability constraint enforcement and contextual encoding via qualifiers. Its mapping capabilities cover field renaming, enum fallback management, property exclusion, and value class inlining. Additionally, it provides low-level streaming tools for raw value processing and non-destructive token peeking.

Features

  • JSON Serialization Libraries - Functions as a high-performance library for converting Kotlin and Java objects to and from JSON.
  • Compile-Time Code Generation - Produces optimized serialization logic at compile time to eliminate the performance overhead of runtime reflection.
  • Custom Type Converters - Provides mechanisms to define specific logic for converting complex objects to control the resulting JSON string format.
  • JSON Converters - Provides a framework for defining custom converters to handle specialized type transformations during JSON serialization.
  • JSON-to-Model Mappers - Converts JSON strings into typed language objects by mapping keys to class fields.
  • Custom Field Mapping - Provides customization of object field mapping to JSON keys using annotations to bridge naming conventions.
  • JSON Parsers - Implements a JSON parser specifically optimized for Kotlin, supporting null safety and code generation.
  • Reflectionless Encoders - Provides a reflectionless encoding mechanism using compile-time generated adapters for maximum performance.
  • Type Safe Parsing - Ensures data integrity by mapping JSON input to strongly typed objects with strict nullability enforcement.
  • JSON Serialization - Parses classes, primitives, and collections into JSON strings and back using built-in or generated logic.
  • Adapter-Based Mapping - Implements a system of dedicated adapters to map JSON keys to class properties and vice versa.
  • Reflectionless Serialization - Uses compile-time adapter generation to eliminate the performance costs associated with runtime reflection.
  • Serialization Adapters - Provides modular components that encapsulate custom logic for converting specific data types during serialization.
  • Contextual Serialization Rules - Uses qualifiers to apply different encoding rules to the same data type based on the specific field context.
  • Data Parsing Utilities - Converts complex types like dates into standard objects using prebuilt adapters during the parsing process.
  • Polymorphic Mapping - Embeds type identifiers in the JSON to resolve and instantiate specific subclasses of a common base type.
  • Token-Based Stream Parsing - Reads JSON data as a sequence of tokens allowing for peek operations without consuming the underlying stream.
  • Compositional Wrappers - Wraps existing adapters in modifiers to add behavioral logic like null safety or data transformation.
  • Nullability Constraint Enforcement - Enables the creation of adapters that forbid nulls in the data body and fail immediately when encountered.
  • Contextual Encoding Qualifiers - Uses qualifiers to apply different encoding rules to the same data type based on the specific field context.
  • JSON प्रोसेसिंग - Modern, unopinionated JSON library using standard Java types.
  • Android Development Utilities - Modern JSON library for Android and Java.
  • Data Serialization - Modern JSON library for Android and Java.

स्टार हिस्ट्री

square/moshi के लिए स्टार हिस्ट्री चार्टsquare/moshi के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

Moshi के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो Moshi के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • fasterxml/jacksonFasterXML का अवतार

    FasterXML/jackson

    9,740GitHub पर देखें↗

    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
    GitHub पर देखें↗9,740
  • google/gsongoogle का अवतार

    google/gson

    24,357GitHub पर देखें↗

    Gson is a Java library designed for the serialization and deserialization of objects into structured text formats. It functions as a reflection-based data mapper, inspecting class structures at runtime to automatically convert memory-resident objects into data representations and reconstruct them back into typed language objects. The library distinguishes itself through a modular type-adapter pattern that allows for custom conversion rules for complex or nested structures. It also provides robust support for production environments by generating build-time metadata and configuration rules, wh

    Java
    GitHub पर देखें↗24,357
  • ijl/orjsonijl का अवतार

    ijl/orjson

    8,110GitHub पर देखें↗

    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

    Pythondataclassesdatetimedeserialization
    GitHub पर देखें↗8,110
  • alibaba/fastjsonalibaba का अवतार

    alibaba/fastjson

    25,625GitHub पर देखें↗

    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
    GitHub पर देखें↗25,625
Moshi के सभी 30 विकल्प देखें→

अक्सर पूछे जाने वाले प्रश्न

square/moshi क्या करता है?

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.

square/moshi की मुख्य विशेषताएं क्या हैं?

square/moshi की मुख्य विशेषताएं हैं: JSON Serialization Libraries, Compile-Time Code Generation, Custom Type Converters, JSON Converters, JSON-to-Model Mappers, Custom Field Mapping, JSON Parsers, Reflectionless Encoders।

square/moshi के कुछ ओपन-सोर्स विकल्प क्या हैं?

square/moshi के ओपन-सोर्स विकल्पों में शामिल हैं: fasterxml/jackson — Jackson is a Java data binding framework and multi-format data serializer used to translate data structures into… google/gson — Gson is a Java library designed for the serialization and deserialization of objects into structured text formats. It… ijl/orjson — orjson is a high-performance Python library for serializing and deserializing JSON data. It functions as both a JSON… alibaba/fastjson — Fastjson is a Java data binding framework and serialization library designed to convert objects to JSON strings and… alibaba/handyjson — HandyJSON is a Swift JSON serialization library and data mapper. It functions as an object mapper that converts JSON… codermjlee/mjextension — MJExtension is a JSON serialization library and model mapping framework used to convert data between JSON strings and…