awesome-repositories.com
Blog
MCP
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
·
Kotlin avatar

Kotlin/kotlinx.serialization

0
View on GitHub↗
5,929 stele·676 fork-uri·Kotlin·Apache-2.0·4 vizualizări

Kotlinx.serialization

kotlinx.serialization is an official Kotlin library that provides a multiplatform serialization framework for converting Kotlin objects to and from multiple data formats. It uses a Kotlin compiler plugin to generate serializer and deserializer code at compile time, avoiding runtime reflection and preserving type safety through annotations like @Serializable. The library supports JVM, JS, and Native targets with platform-specific runtime libraries, enabling consistent serialization across all Kotlin environments.

The library distinguishes itself through its multi-format encoder-decoder abstraction, allowing the same serializable class to work with JSON, CBOR, ProtoBuf, and other formats without code changes. It supports polymorphic serialization for sealed classes and interfaces via a registry of subclass serializers, and allows custom serializer registration for types not covered by automatic generation. Additional capabilities include transient property exclusion to reduce payload size, and built-in JSON serialization for converting objects to and from JSON strings.

The project integrates with Gradle, Maven, and Bazel build systems for configuring the compiler plugin, and provides ProGuard and R8 rules to retain serializers during Android code shrinking.

Features

  • Multiplatform Serialization Libraries - Provides a multiplatform serialization framework that works consistently across JVM, JS, and Native targets.
  • Multi-Format Encoder-Decoder Abstractions - Defines a common encoder and decoder interface that allows the same serializable class to be used with JSON, CBOR, ProtoBuf, and other formats.
  • Cross-Platform Serialization - Provides a serialization solution that works consistently across Kotlin/JS, Kotlin/Native, and Kotlin/JVM targets.
  • Polymorphic Type Serializers - Enables serialization of sealed classes and interfaces through a registry of subclass serializers.
  • JSON Data Exchange - Converts Kotlin data classes to and from JSON strings for APIs, configuration files, or data storage.
  • Multi-Format Serializers - Offers a unified API for encoding and decoding Kotlin objects into JSON, CBOR, ProtoBuf, and other formats.
  • JSON Serialization - Converts Kotlin objects annotated with @Serializable into JSON strings using a built-in encoder.
  • Kotlin Compiler Plugin Serializers - Ships a Kotlin compiler plugin that generates serializer code at compile time for annotated classes.
  • Serializer Registrations - Allows users to define and register custom serializers for types not covered by automatic generation.
  • JSON Serialization - Provides a built-in JSON encoder and decoder for converting Kotlin objects to and from JSON strings.
  • Serialization - Serializes and deserializes Kotlin objects across JVM, JS, and Native targets using a unified API.
  • Serialization Annotations - Uses @Serializable and related annotations to mark classes for automatic serializer generation.
  • Kotlin Object Deserializers - Parse a JSON string back into a typed Kotlin object annotated with @Serializable using a built-in decoder.
  • Compiler Plugin Serializers - Generates serializer and deserializer implementations at compile time via a Kotlin compiler plugin, avoiding runtime reflection.
  • Platform-Specific Runtimes - Provides separate runtime artifacts for JVM, JS, and Native targets, each optimized for the respective platform.
  • Property Exclusion - Marks properties with @Transient to exclude them from serialization, reducing payload size.

Istoric stele

Graficul istoricului de stele pentru kotlin/kotlinx.serializationGraficul istoricului de stele pentru kotlin/kotlinx.serialization

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

Colecții curatoriate care includ Kotlinx.serialization

Colecții selectate manual în care apare Kotlinx.serialization.
  • Formate de serializare binară

Alternative open-source pentru Kotlinx.serialization

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Kotlinx.serialization.
  • johnezang/jsonkitAvatar johnezang

    johnezang/JSONKit

    6,180Vezi pe GitHub↗

    JSONKit is an Objective-C library used for parsing, serializing, and manipulating JSON data. It functions as a JSON parser that converts text into native data structures and a serializer that transforms native objects into formatted JSON text. The library includes a gzip compression wrapper that compresses serialized JSON payloads to reduce network transfer sizes and automatically detects and decompresses gzip buffers before decoding. The toolset provides capabilities for JSON parsing and serialization, supporting customizable indentation, character escaping, and flexible comment handling.

    Objective-C
    Vezi pe GitHub↗6,180
  • microsoft/cpprestsdkAvatar microsoft

    microsoft/cpprestsdk

    8,265Vezi pe GitHub↗

    The C++ REST SDK is a library for asynchronous HTTP and RESTful communication in native C++ applications. It provides a non-blocking network client for sending requests and receiving responses, a JSON parser for serializing and deserializing data, and a WebSocket client library for real-time, full-duplex communication. The project includes a dedicated OAuth2 authentication client to manage access tokens and authorization flows for secure communication with protected cloud resources. It utilizes a task-based asynchronous model to coordinate background operations and keep application interfaces

    C++asyncasynchronous-taskscloud
    Vezi pe GitHub↗8,265
  • oils-for-unix/oilsAvatar oils-for-unix

    oils-for-unix/oils

    3,288Vezi pe GitHub↗

    Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and Bash compatibility. It functions as a structured data shell, integrating JSON and J8 formats to manage complex data without relying on string parsing. The system is distinguished by a C++ transpiled interpreter that converts a subset of Python source code into strongly typed C++ for high-performance execution. It features a garbage-collected typed runtime that supports prototype-based polymorphism, lexical closures, and reference-based variable mutation. To decouple shell logic

    Python
    Vezi pe GitHub↗3,288
  • crowcpp/crowAvatar CrowCpp

    CrowCpp/Crow

    4,721Vezi pe GitHub↗

    Crow is a C++ web framework for building HTTP servers, providing routing, a middleware pipeline, JSON serialization, and WebSocket support. It enables developers to define typed route handlers that extract URL parameters at compile time, return structured JSON responses, and manage real-time bidirectional communication. The framework distinguishes itself with compile-time route pattern parsing and typed argument binding, which eliminate runtime parsing overhead for URL parameters. Its event loop runs on Boost.Asio, and handler execution can be offloaded to a configurable thread pool to keep I

    C++cppcrowframework
    Vezi pe GitHub↗4,721
Vezi toate cele 30 alternative pentru Kotlinx.serialization→

Întrebări frecvente

Ce face kotlin/kotlinx.serialization?

kotlinx.serialization is an official Kotlin library that provides a multiplatform serialization framework for converting Kotlin objects to and from multiple data formats. It uses a Kotlin compiler plugin to generate serializer and deserializer code at compile time, avoiding runtime reflection and preserving type safety through annotations like @Serializable. The library supports JVM, JS, and Native targets with platform-specific runtime libraries, enabling consistent…

Care sunt principalele funcționalități ale kotlin/kotlinx.serialization?

Principalele funcționalități ale kotlin/kotlinx.serialization sunt: Multiplatform Serialization Libraries, Multi-Format Encoder-Decoder Abstractions, Cross-Platform Serialization, Polymorphic Type Serializers, JSON Data Exchange, Multi-Format Serializers, JSON Serialization, Kotlin Compiler Plugin Serializers.

Care sunt câteva alternative open-source pentru kotlin/kotlinx.serialization?

Alternativele open-source pentru kotlin/kotlinx.serialization includ: microsoft/cpprestsdk — The C++ REST SDK is a library for asynchronous HTTP and RESTful communication in native C++ applications. It provides… johnezang/jsonkit — JSONKit is an Objective-C library used for parsing, serializing, and manipulating JSON data. It functions as a JSON… oils-for-unix/oils — Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and… crowcpp/crow — Crow is a C++ web framework for building HTTP servers, providing routing, a middleware pipeline, JSON serialization,… square/moshi — Moshi is a JSON serialization library and parser for Kotlin and Java. It functions as a reflectionless JSON encoder… zendframework/zendframework — Zend Framework is a comprehensive set of decoupled components for building modular, event-driven web applications. It…