Registry / serialization / libyaml

libyaml

JSON →
library0.2.5vcpkgunverified

A C library for parsing and emitting YAML.

vcpkg install libyaml
INSTALL
IMPORT
SIG · LIBYAML
L
libyaml
serializationcppv0.2.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

yaml.h
#include <yaml.h>

Parse a YAML file

#include <yaml.h> #include <stdio.h> int main() { yaml_parser_t parser; yaml_parser_initialize(&parser); FILE *file = fopen("example.yaml", "rb"); yaml_parser_set_input_file(&parser, file); yaml_event_t event; while (yaml_parser_parse(&parser, &event)) { if (event.type == YAML_STREAM_END_EVENT) break; yaml_event_delete(&event); } yaml_parser_delete(&parser); fclose(file); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.5latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

libyaml — pip install libyaml · libregistry