Skip to content

Instantly share code, notes, and snippets.

@tarquin-the-brave
Created May 12, 2020 11:44
Show Gist options
  • Save tarquin-the-brave/1beb5682834e437ef3fa9fcf62dd7817 to your computer and use it in GitHub Desktop.
Save tarquin-the-brave/1beb5682834e437ef3fa9fcf62dd7817 to your computer and use it in GitHub Desktop.
let yaml_data = serde_yaml::from_str::<serde_yaml::Value>(my_data_yaml)?;
let toml_data = toml::from_str::<toml::Value>(my_data_toml)?;
let json_data = serde_json::from_str::<serde_json::Value>(my_data_json)?;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment