Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
A package for reading and writing YAML files
Contributed by: Arnoud Buzing
This paclet provides a simple interface to the YAML library for importing and exporting YAML files. It has two functions: ImportYAML and ExportYAML. ImportYAML imports a YAML file and returns a Dataset. ExportYAML exports a Dataset to a YAML file.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["WolframExternalFunctions/YAML"]
To load the code after installation, evaluate this code:
Needs["WolframExternalFunctions`YAML`"]
Import a "YAML" file as a Dataset:
In[1]:= | ![]() |
Out[2]= | ![]() |
Export the data to a new YAML file:
In[3]:= | ![]() |
In[4]:= | ![]() |
Wolfram Language Version 14.0