Or ryml, for short. ryml is a C++ library to parse and emit YAML, and do it fast, on everything from x64 to bare-metal chips without operating system. (If you are looking to use your programs with a YAML tree as a configuration tree with override facilities, take a look at c4conf). ryml parses both read-only and in-situ source buffers; the resulting data nodes hold only views to sub-ranges of the source buffer. No string copies or duplications are done, and no virtual functions are used. The data tree is a flat index-based structure stored in a single array. Serialization happens only at your direct request, after parsing / before emitting. Internally, the data tree representation stores only string views and has no knowledge of types, but of course, every node can have a YAML type tag. ryml makes it easy and fast to read and modify the data tree.

Features

  • ryml is available as a single header file, or it can be used as a simple library with cmake
  • ryml can use custom global and per-tree memory allocators and error handler callbacks
  • ryml does not depend on the STL
  • ryml ships with c4core, a small C++ utilities multiplatform library
  • ryml is written in C++11
  • ryml is extensively unit-tested in Linux, Windows and MacOS

Project Samples

Project Activity

See All Activity >

Categories

JSON, Libraries

License

MIT License

Follow Rapid YAML

Rapid YAML Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Rapid YAML!

Additional Project Details

Programming Language

C++

Related Categories

C++ JSON Software, C++ Libraries

Registered

2023-10-30