Loading [MathJax]/extensions/tex2jax.js
PolyFEM
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
z
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
b
c
d
e
f
g
h
l
m
n
o
p
q
s
t
v
Enumerations
Related Symbols
a
c
e
g
i
l
o
p
s
Files
File List
File Members
All
_
a
c
d
e
f
g
h
i
j
l
m
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
_
a
c
d
e
f
g
i
l
m
q
s
t
v
w
x
y
z
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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:23
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