35 if (nlohmann_json_j.is_string()) {
36 nlohmann_json_t.file = nlohmann_json_j.get<std::filesystem::path>();
38 nlohmann_json_t.file = nlohmann_json_j[
"file"].get<std::filesystem::path>();
40 if (nlohmann_json_j.contains(
"type")) {
41 nlohmann_json_t.type = nlohmann_json_j[
"type"];
43 nlohmann_json_t.type = nlohmann_json_t.file.extension().string();
45 "Guessing extension type of [{}] is [{}]",
47 nlohmann_json_t.type);
49 if (nlohmann_json_j.contains(
"position_attribute")) {
50 nlohmann_json_t.position_attribute = nlohmann_json_j[
"position_attribute"];
53 if (nlohmann_json_j.contains(
"mesh_name_path")) {
54 nlohmann_json_t.mesh_name_path = nlohmann_json_j[
"mesh_name_path"].get<std::filesystem::path>();