# Is there a mature YAML parsing/saving package?

**URL:** https://discourse.julialang.org/t/is-there-a-mature-yaml-parsing-saving-package/27989
**Category:** Internals & Design
**Tags:** package
**Created:** [August 26, 2019, 7:59am UTC](https://discourse.julialang.org/t/is-there-a-mature-yaml-parsing-saving-package/27989 "2019-08-26T07:59:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![singularitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/singularitti/32/17678_2.png) [@singularitti](https://discourse.julialang.org/u/singularitti)
#### Post date: [August 26, 2019, 7:59am UTC](https://discourse.julialang.org/t/is-there-a-mature-yaml-parsing-saving-package/27989/1 "2019-08-26T07:59:52Z")

</div>

I know there is a [`YAML.jl`](https://github.com/BioJulia/YAML.jl), but it does not even support emitting Julia objects to YAML. Is there a better option?

---

<div class="post-metadata">

### Author: ![mlhetland](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mlhetland/32/283_2.png) [@mlhetland](https://discourse.julialang.org/u/mlhetland)
#### Post date: [September 2, 2019, 10:35am UTC](https://discourse.julialang.org/t/is-there-a-mature-yaml-parsing-saving-package/27989/2 "2019-09-02T10:35:50Z")

</div>

I’d also like to have such a package, but as far as I know there is none. When you say it doesn’t “even” support emitting YAML … well, as far as I know, that’s the only thing that’s lacking? If you feel like contributing to that, have a look at issue [#29](https://github.com/BioJulia/YAML.jl/issues/29). It seems the code mostly exists – it’s mostly a matter of combining it (and possibly switching `YAML.jl` over to ordered dicts).

---

<div class="post-metadata">

### Author: ![mirkobunse](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mirkobunse/32/7244_2.png) [@mirkobunse](https://discourse.julialang.org/u/mirkobunse)
#### Post date: [December 11, 2019, 9:31am UTC](https://discourse.julialang.org/t/is-there-a-mature-yaml-parsing-saving-package/27989/3 "2019-12-11T09:31:11Z")

</div>

Hi @singularitti,

since the pull request [#68](https://github.com/BioJulia/YAML.jl/pull/68) has been merged, [YAML.jl](https://github.com/BioJulia/YAML.jl) is able to emit Julia objects to YAML files (and YAML-formatted strings).

There are still a few limitations of the package mentioned in the README file, but I consider them rather minor. I hope the package is useful to you, now!

---

<div class="post-metadata">

### Author: ![singularitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/singularitti/32/17678_2.png) [@singularitti](https://discourse.julialang.org/u/singularitti)
#### Post date: [December 11, 2019, 9:47am UTC](https://discourse.julialang.org/t/is-there-a-mature-yaml-parsing-saving-package/27989/4 "2019-12-11T09:47:51Z")

</div>

Terrific, thanks!

---

<div class="post-metadata">

### Author: ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)
#### Post date: [December 11, 2019, 10:32am UTC](https://discourse.julialang.org/t/is-there-a-mature-yaml-parsing-saving-package/27989/5 "2019-12-11T10:32:53Z")

</div>

Unfortunately the YAML package hasn’t had a new release for over 15 months now, so you need `YAML#master` to enjoy this feature and some other improvements that have been merged during that time.

---

<div class="post-metadata">

### Author: ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)
#### Post date: [May 6, 2023, 7:39am UTC](https://discourse.julialang.org/t/is-there-a-mature-yaml-parsing-saving-package/27989/6 "2023-05-06T07:39:43Z")

</div>

Just to update this thread, as it is the first thing i found upon googling `yaml julia`, the lastest release was october 2022. Additionally, the latest change was 3 weeks ago, so april 2023. So without testing, it appears that YAML.jl is updated and active.
