14 #include "nlohmann/json.h" 16 #include "libmesh/libmesh_common.h" 40 void to_json(nlohmann::json & json,
const Point & p);
49 struct adl_serializer<
std::unique_ptr<T>>
55 static void to_json(json & j,
const std::unique_ptr<T> & v)
57 if constexpr (std::is_constructible_v<nlohmann::json, T>)
65 mooseAssert(
false,
"Should not get to this");
template class LIBMESH_EXPORT DenseVector< Real >
Base class for MOOSE-based applications.
void to_json(nlohmann::json &json, const Point &p)
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
static void to_json(json &j, const std::unique_ptr< T > &v)
Serializer that will output a unique ptr if it exists.
void to_json(nlohmann::json &json, const MooseApp &app)