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
·

YAML serialization library

Ranking updated Jul 20, 2026

For yaml serialization, the strongest matches are aaubry/yamldotnet (YamlDotNet is a comprehensive library for the), symfony/yaml (This is a dedicated PHP library for parsing and) and nodeca/js-yaml (This library provides a robust programmatic interface for parsing). dtolnay/serde-yaml and goccy/go-yaml round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Find the best YAML serialization libraries for your project. Compare top-rated GitHub repositories by activity and features to pick the right one.

YAML serialization library

Find the best repos with AI.We'll search the best matching repositories with AI.
  • aaubry/yamldotnetaaubry avatar

    aaubry/YamlDotNet

    2,807View on GitHub↗

    YamlDotNet is a YAML serialization library and data mapping tool for .NET. It functions as a parser and generator that converts between .NET objects and YAML formatted text for data storage and configuration. The project provides capabilities for YAML document parsing and data object mapping. It transforms YAML streams into low-level representations or high-level object models for programmatic analysis and converts structured data objects back into valid YAML strings. The library covers general data serialization and configuration file management, allowing application data structures to be m

    YamlDotNet is a comprehensive library for the .NET ecosystem that provides robust parsing, generation, and object mapping capabilities for YAML data structures.

    C#YAML ParsersYAML Serializers
    View on GitHub↗2,807
  • symfony/yamlsymfony avatar

    symfony/yaml

    3,843View on GitHub↗

    This project is a PHP library that serves as a configuration file processor, providing a bridge to translate human-readable YAML text into native PHP arrays and objects. It functions as both a parser for converting YAML content into application-ready data structures and a serializer for transforming PHP data back into formatted YAML strings. The library includes security protections designed to prevent memory exhaustion and stack overflow attacks when processing untrusted documents. It ensures structural integrity through syntax validation and provides a command-line utility to check files fo

    This is a dedicated PHP library for parsing and serializing YAML data, providing the core functionality needed to integrate YAML processing into your applications.

    PHPYAML Data SerializationYAML ParsersYAML Serializers
    View on GitHub↗3,843
  • nodeca/js-yamlnodeca avatar

    nodeca/js-yaml

    6,591View on GitHub↗

    js-yaml is a JavaScript library providing a programmatic interface for parsing and dumping YAML data. It functions as a parser and serializer that converts YAML strings into JavaScript objects and transforms JavaScript objects back into YAML format. The library includes a command-line interface for parsing or dumping YAML data via direct input or data pipes. It also features an abstract syntax tree transformer to modify the structure of data during serialization. The project provides capabilities for multi-document processing and the definition of custom schemas and tags to handle specialize

    This library provides a robust programmatic interface for parsing and serializing YAML in JavaScript, including support for custom schemas and multi-document processing.

    JavaScriptYAML Data SerializationYAML ParsersYAML Serializers
    View on GitHub↗6,591
  • dtolnay/serde-yamldtolnay avatar

    dtolnay/serde-yaml

    1,019View on GitHub↗

    Serde-yaml is a serialization library for the Rust programming language that facilitates the conversion of complex data structures into YAML format and the deserialization of YAML text into strongly typed objects. It functions as a data format converter, enabling the transformation of structured information between native language types and human-readable configuration files. The library integrates with the standard Rust serialization ecosystem to map arbitrary data types to and from the YAML format. By utilizing trait-based data mapping, it allows developers to manage application settings an

    This library provides robust serialization and deserialization for YAML in Rust, making it a direct tool for managing YAML data structures within applications.

    RustYAML Data SerializationYAML Serializers
    View on GitHub↗1,019
  • goccy/go-yamlgoccy avatar

    goccy/go-yaml

    2,189View on GitHub↗

    This library is a Go-based utility for encoding and decoding YAML data into native language structures. It facilitates the transformation of complex objects into human-readable text formats and provides mechanisms for mapping data fields through reflection and custom type handling. The library distinguishes itself by maintaining an intermediate abstract syntax tree, which allows for precise document modifications and the preservation of comments during serialization. It includes a path-based query engine that enables users to navigate, filter, and update document hierarchies without manual it

    This Go library provides robust YAML parsing, serialization, and document manipulation capabilities, including comment preservation and path-based querying, making it a direct fit for your development needs.

    GoYAML Data SerializationYAML ParsersYAML Serializers
    View on GitHub↗2,189
  • jbeder/yaml-cppjbeder avatar

    jbeder/yaml-cpp

    5,931View on GitHub↗

    yaml-cpp is a C++ library for parsing and emitting YAML 1.2 documents. It provides a complete YAML processing pipeline, from reading YAML content into a traversable node tree to writing in-memory data structures back as YAML text. The library represents parsed YAML as a mutable tree of typed nodes, supporting scalars, sequences, maps, and aliases. It uses a recursive-descent parser to build this node tree, and a stream-based emitter to generate YAML output incrementally. Template-based type conversion enables compile-time serialization between YAML nodes and C++ types, including support for c

    This is a C++ library that provides a complete pipeline for parsing and emitting YAML documents, making it a direct tool for handling YAML data structures within applications.

    C++YAML Data SerializationYAML Serializers
    View on GitHub↗5,931
  • go-yaml/yamlgo-yaml avatar

    go-yaml/yaml

    7,023View on GitHub↗

    This library is a YAML encoder and decoder for native Go data structures. It provides the tools necessary to transform internal data into YAML formatted text and convert YAML input streams back into structured data. The parser includes built-in protections against resource exhaustion attacks by enforcing limits on document depth and alias resolution. It also ensures deterministic output by employing consistent key sorting for maps. The project covers serialization and deserialization workflows, including struct mapping and custom marshaling interfaces. It also handles input encoding detectio

    This library provides robust serialization and deserialization for YAML in Go, offering essential features like document security limits and deterministic output for configuration management.

    GoYAML Parsers
    View on GitHub↗7,023
  • msgspec/msgspecmsgspec avatar

    msgspec/msgspec

    3,821View on GitHub↗

    msgspec is a high-performance data modeling, serialization, and schema validation toolkit for Python. It serves as a type-safe serialization framework that integrates schema enforcement and data parsing into a single pass, functioning as both a data serialization library and a schema validation system based on standard Python type annotations. The project distinguishes itself through high-performance structural primitives, including compilation-based routine generation and zero-copy buffer parsing. It optimizes memory usage via garbage collection-aware layouts and reduces processing overhead

    This library provides high-performance serialization, deserialization, and schema validation for YAML alongside other formats, making it a capable tool for managing YAML data structures within Python applications.

    PythonYAML Data SerializationYAML Serializers
    View on GitHub↗3,821
  • cue-lang/cuecue-lang avatar

    cue-lang/cue

    6,147View on GitHub↗

    CUE is a constraint-based configuration language designed for data validation, schema definition, and code generation. At its core, it unifies types and values into a single concept, enabling compile-time validation that catches structural and value errors before runtime. The language treats data and constraints as the same thing, allowing a single definition to serve as both a schema and concrete configuration data. CUE distinguishes itself through its constraint-based unification engine, which combines multiple configuration sources into a single coherent result by merging their constraints

    CUE is a powerful configuration language and toolset that handles complex YAML parsing, schema validation, and data manipulation, though it operates as a specialized constraint-based system rather than a traditional general-purpose YAML library.

    GoConstraint-Based YAML ValidatorsData Validation Schemas
    View on GitHub↗6,147
  • fasterxml/jacksonFasterXML avatar

    FasterXML/jackson

    9,740View on GitHub↗

    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

    Jackson is a high-performance data binding framework that provides robust YAML parsing, serialization, and schema validation capabilities through its modular architecture, making it a standard tool for YAML processing in Java applications.

    YAML Parsers
    View on GitHub↗9,740
  • yaml/pyyamlyaml avatar

    yaml/pyyaml

    2,900View on GitHub↗

    Canonical source repository for PyYAML

    This is the standard Python library for parsing and emitting YAML, providing robust serialization and deserialization capabilities for data structures.

    PythonDocument and File ProcessingFile Formats
    View on GitHub↗2,900
  • eemeli/yamleemeli avatar

    eemeli/yaml

    1,623View on GitHub↗

    This library provides robust parsing, stringification, and manipulation of YAML data, including support for comment preservation and document-level editing, making it a strong choice for programmatic YAML handling in JavaScript and TypeScript environments.

    TypeScriptParsing Tools
    View on GitHub↗1,623
  • jeremyfa/yaml.jsjeremyfa avatar

    jeremyfa/yaml.js

    886View on GitHub↗

    This library provides a parser and encoder for YAML 1.2 data structures, enabling the transformation of human-readable YAML strings into native JavaScript objects and arrays. It is designed to function as a cross-platform utility, ensuring consistent data processing across both server-side runtimes and client-side browser environments. Beyond its core library functionality, the project includes a command-line interface for automating data conversion tasks. This utility supports bidirectional transformation between YAML and JSON formats, allowing for the programmatic manipulation and exchange

    This is a standalone JavaScript library for parsing and encoding YAML 1.2 data, providing the core serialization and deserialization capabilities required for YAML processing in web and Node.js applications.

    CoffeeScriptYAML ParsersYAML Serializers
    View on GitHub↗886
  • jimmiebergmann/mini-yamljimmiebergmann avatar

    jimmiebergmann/mini-yaml

    243View on GitHub↗

    Single header YAML 1.0 C++11 serializer/deserializer.

    This is a lightweight C++ library designed specifically for YAML serialization and deserialization, fitting the category as a focused tool for handling YAML data structures.

    C++Data Formats and ParsingData Serialization
    View on GitHub↗243
  • ghodss/yamlghodss avatar

    ghodss/yaml

    1,063View on GitHub↗

    A better way to marshal and unmarshal YAML in Golang

    This library provides a specialized interface for marshaling and unmarshaling YAML data in Go, serving as a direct tool for YAML processing within software applications.

    GoConfiguration Management
    View on GitHub↗1,063
  • yaml/adayamlyaml avatar

    yaml/AdaYaml

    46View on GitHub↗

    This is an implementation of the upcoming YAML 1.3 standard. Since the standard is not completed yet, some features are due to change.

    This library provides a direct implementation of the YAML standard for the Ada programming language, enabling the parsing and generation of YAML data structures within your applications.

    AdaData Format Libraries
    View on GitHub↗46
  • biot2/yaml.json.parserbiot2 avatar

    biot2/Yaml.Json.Parser

    8View on GitHub↗

    YAML and JSON parser, serializer and deserializer with YAML to JSON and vice versa conversion tools containing pure Object Pascal source code for both Delphi and Lazarus

    This library provides the requested serialization and deserialization capabilities for YAML and JSON within the Pascal ecosystem, though it lacks the broader multi-language support and advanced schema validation features of more comprehensive tools.

    PascalData Serialization
    View on GitHub↗8
  • symfony/serializersymfony avatar

    symfony/serializer

    2,547View on GitHub↗

    This library is a PHP-based serialization framework designed to convert complex object graphs into structured formats such as JSON, XML, YAML, and CSV, and to reconstruct those objects from serialized data. It functions as a data transformation tool that maps object properties to array structures, facilitating both application state persistence and the exchange of data between systems. The framework distinguishes itself through a two-stage pipeline that normalizes objects into intermediate structures before encoding them into specific formats. It supports advanced mapping requirements, includ

    This is a robust serialization framework that handles YAML alongside other formats, providing the necessary tools for object-to-data mapping and deserialization within PHP applications.

    PHPObject SerializersCustom Object HydrationData Hydration Tools
    View on GitHub↗2,547
  • jdonnerstag/vlang-yamljdonnerstag avatar

    jdonnerstag/vlang-yaml

    28View on GitHub↗

    I think this YAML parser covers many important aspects of the YAML spec, but certainly not everything. I've been using the YAML spec and this online tool whenever I was in doubt.

    This library provides YAML parsing and serialization capabilities for the V programming language, fitting the category of a data processing tool even if it does not implement the full YAML specification.

    VSerialization
    View on GitHub↗28
  • eudoxia0/cl-yamleudoxia0 avatar

    eudoxia0/cl-yaml

    62View on GitHub↗

    YAML parser for Common Lisp

    This is a dedicated YAML parser and emitter for Common Lisp that handles the core requirements of serialization and deserialization for that specific language ecosystem.

    Common LispData Formats
    View on GitHub↗62
  • cloudbase/powershell-yamlcloudbase avatar

    cloudbase/powershell-yaml

    499View on GitHub↗

    PowerShell CmdLets for YAML format manipulation

    This tool provides PowerShell cmdlets for parsing and generating YAML, serving as a direct utility for YAML manipulation within the PowerShell ecosystem.

    PowerShellData Processing
    View on GitHub↗499
  • viking/r-yamlviking avatar

    viking/r-yaml

    169View on GitHub↗

    R package for converting objects to and from YAML

    This is a specialized R package that provides robust serialization and deserialization of YAML data, serving as a direct tool for YAML processing within the R ecosystem.

    CData Formats
    View on GitHub↗169
  • kamillelonek/yaml-elixirKamilLelonek avatar

    KamilLelonek/yaml-elixir

    179View on GitHub↗

    Yaml parser for Elixir based on native Erlang implementation

    This library provides native YAML parsing and serialization capabilities for the Elixir ecosystem, serving as a direct tool for handling YAML data structures within applications.

    ElixirYAML Processing
    View on GitHub↗179
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
aaubry/yamldotnet2.8KC#mitJan 16, 2026
symfony/yaml3.8KPHPMITJun 16, 2026
nodeca/js-yaml6.6KJavaScriptMITJun 17, 2026
dtolnay/serde-yaml1KRustApache-2.0Mar 25, 2024
goccy/go-yaml2.2KGoMITApr 11, 2026
jbeder/yaml-cpp5.9KC++MITMay 26, 2026
go-yaml/yaml7KGoNOASSERTIONApr 1, 2025
msgspec/msgspec3.8KPythonBSD-3-ClauseJun 22, 2026
cue-lang/cue6.1KGoApache-2.0Jun 22, 2026
fasterxml/jackson9.7K——Jun 16, 2026

Related searches

  • a library for parsing YAML in Rust
  • a java library for parsing yaml files
  • a library for parsing YAML in Go
  • a library for parsing YAML in C#
  • a serialization framework for Rust data structures
  • Data interchange formats
  • a C++ library for data serialization
  • a binary serialization format for structured data