Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

YAML

Guides

  • YAML

Symbols

  • ExportYAML
  • ImportYAML
WolframExternalFunctions`YAML`
ExportYAML
​
ExportYAML
[file,data]
exports a
Dataset
to a YAML file
​
Examples  
(1)
Basic Examples  
(1)
Export a simple
Dataset
to the "YAML" format:
In[1]:=
ExportYAML
["out.yaml",
]
In[2]:=
FilePrint["out.yaml"]
a: 1
b: 2
c: 3
In[3]:=
ExportYAML
["out.yaml",
]
In[4]:=
FilePrint["out.yaml"]
person:
age: 30
interests:
- reading
- hiking
- technology
name: Alice Johnson
servers:
development:
host: localhost
port: 3000
production:
host: example.com
port: 8080
SeeAlso
Dataset
 
▪
ImportYAML
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com