156{
157 const std::string needle = "\"" + std::string(key) + "\"";
158 std::size_t at = json.find(needle);
159 while (at != std::string_view::npos) {
160 std::size_t p = at + needle.size();
161 while (p < json.size() &&
162 std::isspace(static_cast<unsigned char>(json[p])))
163 ++p;
164 if (p < json.size() && json[p] == ':') {
165 ++p;
166 while (p < json.size() &&
167 std::isspace(static_cast<unsigned char>(json[p])))
168 ++p;
169 if (p < json.size() && json[p] == '"') {
171 for (++p; p < json.size() && json[p] != '"'; ++p) {
172 if (json[p] == '\\' && p + 1 < json.size()) ++p;
174 }
176 }
177 return "";
178 }
179 at = json.find(needle, at + 1);
180 }
181 return "";
182}
eon_relax_band_t eon_relax_surface_fn void eon_relax_outcome_t * out
Eigen::Vector3d at(const FieldMatrixd &mat, Index_t i)