# Is there a unified API for loading/saving JSON, YAML, and TOML files?

**URL:** https://discourse.julialang.org/t/is-there-a-unified-api-for-loading-saving-json-yaml-and-toml-files/78934
**Category:** General Usage
**Tags:** question, data
**Created:** [April 3, 2022, 9:09am UTC](https://discourse.julialang.org/t/is-there-a-unified-api-for-loading-saving-json-yaml-and-toml-files/78934 "2022-04-03T09:09:27Z")
**Posts on this page:** 1
**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: [April 3, 2022, 9:09am UTC](https://discourse.julialang.org/t/is-there-a-unified-api-for-loading-saving-json-yaml-and-toml-files/78934/1 "2022-04-03T09:09:28Z")

</div>

I wonder if there exists a unified API for reading/writing JSON, YAML, and TOML files. Currently, I am [doing it by myself](https://github.com/MineralsCloud/AbInitioSoftwareBase.jl/blob/b358541fded6e98eaf2995d8348386f58dd45e7b/src/fileops.jl#L8-L72). I am treating them as configuration files to store my calculations settings. But it would be nice to have a unified `load` or `save` function, like what we have in `FileIO.jl`. Why don’t we have that in `FileIO.jl`?
