# YAML serialization library

> AI-ranked search results for `yaml serialization` on awesome-repositories.com — ordered by an LLM for relevance, best match first. 111 total matches; showing the top 23.

Explore on the web: https://awesome-repositories.com/q/yaml-serialization

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [this search on awesome-repositories.com](https://awesome-repositories.com/q/yaml-serialization).**

## Results

- [aaubry/yamldotnet](https://awesome-repositories.com/repository/aaubry-yamldotnet.md) (2,807 ⭐) — 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
- [symfony/yaml](https://awesome-repositories.com/repository/symfony-yaml.md) (3,843 ⭐) — 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
- [nodeca/js-yaml](https://awesome-repositories.com/repository/nodeca-js-yaml.md) (6,591 ⭐) — 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
- [dtolnay/serde-yaml](https://awesome-repositories.com/repository/dtolnay-serde-yaml.md) (1,019 ⭐) — 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
- [goccy/go-yaml](https://awesome-repositories.com/repository/goccy-go-yaml.md) (2,189 ⭐) — 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
- [jbeder/yaml-cpp](https://awesome-repositories.com/repository/jbeder-yaml-cpp.md) (5,931 ⭐) — 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
- [go-yaml/yaml](https://awesome-repositories.com/repository/go-yaml-yaml.md) (7,023 ⭐) — 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
- [msgspec/msgspec](https://awesome-repositories.com/repository/msgspec-msgspec.md) (3,821 ⭐) — 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
- [cue-lang/cue](https://awesome-repositories.com/repository/cue-lang-cue.md) (6,147 ⭐) — 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
- [fasterxml/jackson](https://awesome-repositories.com/repository/fasterxml-jackson.md) (9,740 ⭐) — 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
- [yaml/pyyaml](https://awesome-repositories.com/repository/yaml-pyyaml.md) (2,900 ⭐) — Canonical source repository for PyYAML
- [eemeli/yaml](https://awesome-repositories.com/repository/eemeli-yaml.md) (1,623 ⭐)
- [jeremyfa/yaml.js](https://awesome-repositories.com/repository/jeremyfa-yaml-js.md) (886 ⭐) — 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
- [jimmiebergmann/mini-yaml](https://awesome-repositories.com/repository/jimmiebergmann-mini-yaml.md) (243 ⭐) — Single header YAML 1.0 C++11 serializer/deserializer.
- [ghodss/yaml](https://awesome-repositories.com/repository/ghodss-yaml.md) (1,063 ⭐) — A better way to marshal and unmarshal YAML in Golang
- [yaml/adayaml](https://awesome-repositories.com/repository/yaml-adayaml.md) (46 ⭐) — This is an implementation of the upcoming YAML 1.3 standard. Since the standard is not completed yet, some features are due to change.
- [biot2/yaml.json.parser](https://awesome-repositories.com/repository/biot2-yaml-json-parser.md) (8 ⭐) — 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
- [symfony/serializer](https://awesome-repositories.com/repository/symfony-serializer.md) (2,547 ⭐) — 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
- [jdonnerstag/vlang-yaml](https://awesome-repositories.com/repository/jdonnerstag-vlang-yaml.md) (28 ⭐) — 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.
- [eudoxia0/cl-yaml](https://awesome-repositories.com/repository/eudoxia0-cl-yaml.md) (62 ⭐) — YAML parser for Common Lisp
- [cloudbase/powershell-yaml](https://awesome-repositories.com/repository/cloudbase-powershell-yaml.md) (499 ⭐) — PowerShell CmdLets for YAML format manipulation
- [viking/r-yaml](https://awesome-repositories.com/repository/viking-r-yaml.md) (169 ⭐) — R package for converting objects to and from YAML
- [kamillelonek/yaml-elixir](https://awesome-repositories.com/repository/kamillelonek-yaml-elixir.md) (179 ⭐) — Yaml parser for Elixir based on native Erlang implementation
