PolyFEM
Loading...
Searching...
No Matches
YamlToJson.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
polyfem/Common.hpp
>
4
5
namespace
polyfem::io
6
{
8
json
yaml_string_to_json
(
const
std::string &yaml_str);
9
11
json
yaml_file_to_json
(
const
std::string &yaml_filepath);
12
}
// namespace polyfem::io
Common.hpp
polyfem::io
Definition
Evaluator.cpp:22
polyfem::io::yaml_file_to_json
json yaml_file_to_json(const std::string &yaml_filepath)
Load a YAML file to JSON.
Definition
YamlToJson.cpp:68
polyfem::io::yaml_string_to_json
json yaml_string_to_json(const std::string &yaml_str)
Convert YAML string to JSON.
Definition
YamlToJson.cpp:62
polyfem::json
nlohmann::json json
Definition
Common.hpp:9
src
polyfem
io
YamlToJson.hpp
Generated by
1.9.8